Anas bin Malik (may Allah be pleased with him) says that the Messenger of Allah (peace and blessings be upon him) came to Mina, came to the Jamrah and stoned it, then came to his lodging in Mina and slaughtered his sacrifice. Then he said to the barber: "Take," and pointed to his right side, then to the left. Then he began giving it (the hair) to the people.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 9400