Sunan Abi Dawud, Book 14, Hadith 63 (Abu Dawud 2376)

Narrated Anas:

We would not allow a man who was fasting to get himself cupped due to abomination of hardship.