Yahya b. al-Husain quoted his grandmother as saying she heard the Prophet at the Farewell Pilgrimage make supplication three.times for those who had their heads shaved and once for those who clipped their hair.
Ibn ‘Umar told that at the Farewell Pilgrimage God's messenger said, “O God, have mercy on those who have themselves shaved.” The people suggested that he should add those who had clipped their hair. He again said the same words, and when they made the same suggestion, he added “and those who clip their hair.”
Anas said that when the Prophet came to Mina he went to the jamra and threw pebbles at it, after which he went to his lodging in Mina and sacrificed his victim. He then called for a barber, and turning his right side to him, he let him shave him. He then called Abu Talha al-Ansari and gave him what had been shaved off; after which he turned his left side telling the barber to shave him, and when he had done so he gave Abu Talha what had been shaved off and told him to divide it among the people.