ENOfficial
Narrated Ibn `Abbas: The Prophet (ﷺ) was cupped while he was in the state of lhram, and also while he was observing a fast.
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا مُعَلَّى بْنُ أَسَدٍ، حَدَّثَنَا وُهَيْبٌ، عَنْ أَيُّوبَ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ أَنَّ النَّبِيَّ صلى الله عليه وسلم احْتَجَمَ، وَهْوَ مُحْرِمٌ وَاحْتَجَمَ وَهْوَ صَائِمٌ.
sunnah.com