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