Sahih Bukhari | Volume 3 | Hadith Number 159

Narrated by Ibn Abbas
The Prophet was cupped while he was in the state of Ihram, and also while he was observing a fast.