Ash-Shama'il Al-Muhammadiyah, Book 49, Hadith 348 (English)

Anas bin Maalik Radiyallahu 'Anhu reports: "Sayyidina Rasulullah Sallallahu 'Alayhi Wasallam took treatment of cupping on the back of his leg at Milal (a place about seventeen miles-27 km-from Madinah Munawwarah in the direction of Makkah) while he was in the state of ihraam".

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

also referenced under: Book 50, Hadith 365 (In-Book)