"Prophet was treated by means of cupping when he was in Ihram." (Diaf) Chpater 93. Cupping To Treat The Muhrim For A Disease he Is Suffering From (Using translation from Nasāʾī 2847)
سَمِعْتُ ابْنَ عَبَّاسٍ يَقُولُ «احْتَجَمَ النَّبِيُّ ﷺ وَهُوَ مُحْرِمٌ» ثُمَّ قَالَ بَعْدُ أَخْبَرَنِي طَاوُسٌ عَنِ ابْنِ عَبَّاسٍ احْتَجَمَ النَّبِيُّ ﷺ وَهُوَ مُحْرِمٌ