Narrated Anas: We would not allow a man who was fasting to get himself cupped due to abomination of hardship.
Explanation & Benefits
Shaykh Umar Farooq Saeedi
Benefits and Issues:
That is, cupping (hijama) does not break the fast; there is only a concern that due to weakness, it may cause difficulty for the person.
Therefore, if there is no fear of weakness, it is permissible.
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 2375