It wasnarrated that Ibn 'Abbas said:
"The Messenger of Allah (ﷺ)said: "The Messenger of Allah (ﷺ) had cupping done when he wasfasting and in Ihram." (RU)
English reference (RU): Vol. 1, Book 7, Hadith 1682 (RU)
Arabic reference (RU): Book 7, Hadith 1752 (RU)