Sahih al-Bukhari, Book 27, Hadith 6 (Bukhari 1743)

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.