Sahih Bukhari | Volume 3 | Hadith Number 160

Narrated by Ibn 'Abbas
The Prophet was cupped while he was fasting.