صحيح البخاري
From Sahih Bukhari (Hadith 1811):
Narrated Al-Miswar:Allah's Messenger (ﷺ) slaughtered (the Hadi) before he had his head shaved and then he ordered his Companions to do the same
Reference: Bukhari 1811