Sahih al-Bukhari 1940
Sahih al-Bukhari · Book 30: Fasting · Cupping and vomiting in Saum (fast)
Narrated Thabit Al-Bunani:
حَدَّثَنَا آدَمُ بْنُ أَبِي إِيَاسٍ ، حَدَّثَنَا شُعْبَةُ ، قَالَ سَمِعْتُ ثَابِتًا الْبُنَانِيَّ ، يَسْأَلُ أَنَسَ بْنَ مَالِكٍ ـ رضى الله عنه ـ أَكُنْتُمْ تَكْرَهُونَ الْحِجَامَةَ لِلصَّائِمِ قَالَ لاَ. إِلاَّ مِنْ أَجْلِ الضَّعْفِ. وَزَادَ شَبَابَةُ حَدَّثَنَا شُعْبَةُ عَلَى عَهْدِ النَّبِيِّ صلى الله عليه وسلم .
Anas bin Malik was asked whether they disliked the cupping for a fasting person. He replied in the negative and said, "Only if it causes weakness."