مِشْكَاةُ الْمَصَابِيحِ
Mishkat al-Masabih 2002
Fasting
Keeping the Fast free from Imperfection - Section 1
وَعَنِ ابْنِ عَبَّاسٍ قَالَ: إِنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ احْتَجَمَ وَهُوَ مُحْرِمٌ وَاحْتَجَمَ وَهُوَ صَائِمٌ
Ibn ‘Abbas said that the Prophet (ﷺ) had himself cupped when he was wearing the ihram and also when he was fasting. (Bukhari and Muslim.)
Mishkat al-Masabih, 2002مُتَّفَقٌ عَلَيْهِ (الألباني)