Sahih al-Bukhari, Book 64, Hadith 432 (Bukhari 4216)

Narrated Ibn `Umar:

The Prophet (ﷺ) got his head shaved during Hajjat-ul-Wada`.'