ENOfficial
Ibn ‘Abbas said The Prophet(ﷺ) had himself cupped when he was in the sacred state(wearing ihram).
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا أَحْمَدُ بْنُ حَنْبَلٍ، حَدَّثَنَا سُفْيَانُ، عَنْ عَمْرِو بْنِ دِينَارٍ، عَنْ عَطَاءٍ، وَطَاوُسٍ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم احْتَجَمَ وَهُوَ مُحْرِمٌ .
sunnah.com