The Messenger of Allah ﷺ shaved his head during the Farewell Pilgrimage.
حدثنا محمد بن بكر أخبرنا ابن جريج حدثني موسى بن عقبة عن نافع أن
أن رسول الله ﷺ حلق رأسه في حجة الوداع
Its isnad is sahih. It is a repeat of 4890, and see also 5507.