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