Sahih al-Bukhari, Book 30, Hadith 46 (Bukhari 1868)

Narrated Ibn `Abbas:

The Prophet (ﷺ) was cupped while he was fasting.