[Machine] That Ja'far ibn Abi Talib decided to get cupped while he was fasting. The Prophet ﷺ passed by him and said, "Did these two break their fast?" Then the Prophet ﷺ allowed cupping for the one who is fasting. Anas used to get cupped while he was fasting. Ali ibn Umar ad-Daraqutni said, "All of them are trustworthy and I do not know of any reason [to prohibit cupping while fasting]." The scholar said, "The hadith of Abu Sa'eed al-Khudri, with the wording of permission, indicates this. Indeed, the majority is that permission [for cupping] comes after the prohibition. Allah knows best."
أَنَّ جَعْفَرَ بْنَ أَبِي طَالِبٍ ؓ احْتَجَمَ وَهُوَ صَائِمٌ فَمَرَّ بِهِ النَّبِيُّ ﷺ فَقَالَ أَفْطَرَ هَذَانِ ثُمَّ رَخَّصَ النَّبِيُّ ﷺ بَعْدُ فِي الْحِجَامَةِ لِلصَّائِمِ وَكَانَ أَنَسٌ يَحْتَجِمُ وَهُوَ صَائِمٌ قَالَ عَلِيُّ بْنُ عُمَرَ الدَّارَقُطْنِيُّ كُلُّهُمْ ثِقَاتٌ وَلَا أَعْلَمُ لَهُ عِلَّةً قَالَ الشَّيْخُ وَحَدِيثُ أَبِي سَعِيدٍ الْخُدْرِيِّ بِلَفْظِ التَّرْخِيصِ يَدُلُّ عَلَى هَذَا فَإِنَّ الْأَغْلَبَ أَنَّ التَّرْخِيصَ يَكُونُ بَعْدَ النَّهْيِ وَاللهُ أَعْلَمُ