Narrated Ibn Abbas:
The Prophet was cupped while he was in the state of lhram, and also while he was observing a fast.
حَدَّثَنَا مُعَلَّى بْنُ أَسَدٍ، حَدَّثَنَا وُهَيْبٌ، عَنْ أَيُّوبَ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ أَنَّ النَّبِيَّ صلى الله عليه وسلم احْتَجَمَ، وَهْوَ مُحْرِمٌ وَاحْتَجَمَ وَهْوَ صَائِمٌ.
Sahih al-Bukhari, 1938
Sahih al-Bukhari, Vol. 3, Book of Fasting, Hadith 159
Sahih al-Bukhari, Book of Fasting, Hadith 159