وَعَنِ ابْنِ عَبَّاسٍ قَالَ: احْتَجَمَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَهُوَ محرم

Ibn ‘Abbas said that the Prophet had himself cupped when he was in the sacred state.

Bukhari and Muslim.