“The Messenger of Allah (ﷺ) said: “The Messenger of Allah (ﷺ) had cupping done when he was fasting and in Ihram.”
Sunan Ibn Majah Book 7, Hadith 45