Jami` at-Tirmidhi, Book 8, Hadith 94 (Tirmidhi 775)

Ibn Abbas narrated:

"the Messenger of Allah was cupped while he was fasting and in Ihram."