It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that on the occasion of the Farewell Pilgrimage, the Prophet (peace and blessings of Allah be upon him) had his head shaved.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 6115