Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:1940Ādam b. Abū Iyās > Shuʿbah > Thābit al-Bunānī Yasʾal Anas b. Mālik Akuntum Takrahūn al-Ḥijāmah Lilṣṣāʾim > Lā Ilā from Ajl al-Ḍaʿf And Zād Shabābah

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."  

البخاري:١٩٤٠حَدَّثَنَا آدَمُ بْنُ أَبِي إِيَاسٍ حَدَّثَنَا شُعْبَةُ قَالَ سَمِعْتُ ثَابِتًا الْبُنَانِيَّ يَسْأَلُ أَنَسَ بْنَ مَالِكٍ ؓ أَكُنْتُمْ تَكْرَهُونَ الْحِجَامَةَ لِلصَّائِمِ قَالَ

لاَ إِلاَّ مِنْ أَجْلِ الضَّعْفِ وَزَادَ شَبَابَةُ حَدَّثَنَا شُعْبَةُ عَلَى عَهْدِ النَّبِيِّ ﷺ