ENOfficial
Narrated Abdullah ibn Abbas: The Messenger of Allah (ﷺ) had himself cupped when he was fasting and wearing ihram (pilgrim garb).
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا حَفْصُ بْنُ عُمَرَ، حَدَّثَنَا شُعْبَةُ، عَنْ يَزِيدَ بْنِ أَبِي زِيَادٍ، عَنْ مِقْسَمٍ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم احْتَجَمَ وَهُوَ صَائِمٌ مُحْرِمٌ .
sunnah.com