Sunan Ibn Majah, Volume 4, Book 25, Hadith 3082 (DarusSalam) ⓘ
It was narrated from Jabir that the Prophet was treated with cupping when he was in the state of Ihram, because he did not feel well.
حَدَّثَنَا بَكْرُ بْنُ خَلَفٍ أَبُو بِشْرٍ، حَدَّثَنَا مُحَمَّدُ بْنُ أَبِي الضَّيْفِ، عَنِ ابْنِ خُثَيْمٍ، عَنْ أَبِي الزُّبَيْرِ، عَنْ جَابِرٍ، أَنَّ النَّبِيَّ ـ صلى الله عليه وسلم ـ احْتَجَمَ وَهُوَ مُحْرِمٌ مِنْ رَهْصَةٍ أَخَذَتْهُ .
also referenced under: Hadith 3082 (Reference) & Book 25, Hadith 3200 (In-Book)