"The Prophet was cupped somewhere between Makkah and Al-Madinah and he was fasting and in Ihram."

Jami` at-Tirmidhi Book 8, Hadith 96