Sunan an-Nasa'i, Volume 3, Book 24, Hadith 2848 (DarusSalam)

It was narrated from Ibn Abbas: That the Messenger of Allah was treated by means of cupping when he was in Ihram.

أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا اللَّيْثُ، عَنْ أَبِي الزُّبَيْرِ، عَنْ عَطَاءٍ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم احْتَجَمَ وَهُوَ مُحْرِمٌ ‏.‏

sunnah.com