Sahih al-Bukhari, Book 76, Hadith 16 (Bukhari 5479)

Narrated Ibn `Abbas:

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