Sahih al-Bukhari, Volume 7, Book 71, Hadith 597 (USC-MSA) ⓘ
Narrated Ibn `Abbas: The Prophet was cupped while he was fasting.
حَدَّثَنَا أَبُو مَعْمَرٍ، حَدَّثَنَا عَبْدُ الْوَارِثِ، حَدَّثَنَا أَيُّوبُ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، قَالَ احْتَجَمَ النَّبِيُّ صلى الله عليه وسلم وَهْوَ صَائِمٌ.
also referenced under: Book 76, Hadith 16 (In-Book) & Hadith 5694 (DarusSalam)