It wasnarrated from 'Abdullah bin 'Amr that the Prophet (ﷺ) wasaskedabout a man who slaughtered his sacrifice before shaving hishead, orwho shaved his head before slaughtering his sacrifice, and hesaid:
"There is no harm in that." (ID)
English reference (ID): Vol. 4, Book 25, Hadith 3051 (ID)
Arabic reference (ID): Book 25, Hadith 3167 (ID)