The Messenger of Allah ﷺ threw pebbles at the last jamrah (Jamrat al-'Aqabah) on the day of sacrifice. He then returned to his lodging at Mina. He called for a sacrificial animal which he slaughtered. He then called for a barber. He held the right side of his head and shaved it. He then began to distribute among those who were around him one or two hair each. He then held the left side of his head and shaved it. Again he said: Is Abu Talhah here ? He then gave it (the hair shaved off) to Abu Talhah. (Using translation from Abū Dāʾūd 1981)
أَنَّ رَسُولَ اللهِ ﷺ رَمَى جَمْرَةَ الْعَقَبَةِ يَوْمَ النَّحْرِ ثُمَّ رَجَعَ إِلَى مَنْزِلِهِ بِمِنًى فَدَعَا بِذِبْحٍ فَذُبِحَ ثُمَّ دَعَا بِالْحَلَّاقِ فَأَخَذَ شِقَّ رَأْسِهِ الْأَيْمَنَ فَحَلَقَهُ فَجَعَلَ يَقْسِمُ بَيْنَ مَنْ يَلِيهِ الشَّعْرَةَ وَالشَّعَرَتَيْنِ ثُمَّ أَخَذَ شِقَّ رَأْسِهِ الْأَيْسَرَ فَحَلَقَهُ ثُمَّ قَالَ هَاهُنَا أَبُو طَلْحَةَ؟ فَدَفَعَهُ إِلَى أَبِي طَلْحَةَ