كتاب الصيام
5  
Fasting
Bulugh al-Maram 665
Ibn 'Abbas (RAA) narrated that The Messenger of Allah (ﷺ) had himself cupped while he was in a state of Ihram, and had himself cupped while he was fasting.’’ Related by Al-Bukhari.
وَعَنِ اِبْنِ عَبَّاسٍ رَضِيَ اَللَّهُ عَنْهُمَا; { أَنَّ اَلنَّبِيَّ ‏- صلى الله عليه وسلم ‏-اِحْتَجَمَ وَهُوَ مُحْرِمٌ, وَاحْتَجَمَ وَهُوَ صَائِمٌ } رَوَاهُ اَلْبُخَارِيُّ 1‏ .‏
Reference : Bulugh al-Maram 665
In-book reference : Book 5, Hadith 665
English translation : Book 5, Hadith 686
Hadith Text
Reference