BAYHAQI 8266:
from a man from Aṣḥāb Muḥammad ﷺ —
[Machine] The Messenger of Allah, ﷺ , prohibited continuous blood-letting and cupping for the fasting person to keep him healthy, but he did not forbid them. It was said to him (the Prophet), "You experience cupping." He replied, "Indeed, my Lord has kept me nourished and quenched."
البيهقي ٨٢٦٦:
عن ا من عن اصحاب محمد ﷺ —
نَهَى رَسُولُ اللهِ ﷺ عَنِ الْمُوَاصَلَةِ وَالْحِجَامَةِ لِلصَّائِمِ إِبْقَاءً عَلَى أَصْحَابِهِ وَلَمْ يُحَرِّمْهُمَا فَقِيلَ لَهُ إِنَّكَ تُوَاصِلُ فَقَالَ إِنِّي أَظَلُّ يُطْعِمُنِي رَبِّي وَيَسْقِينِي
hadithunlocked.com