It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) stoned the Jamrah on the Day of Sacrifice, then slaughtered his sacrifice, then shaved his head.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12036