Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:1305aYaḥyá b. Yaḥyá > Ḥafṣ b. Ghiyāth > Hishām > Muḥammad b. Sīrīn > Anas b. Mālik

Anas b. Malik (Allah be pleased wish him) reported that Messenger of Allah ﷺ came to Mina; he went to the Jamra and threw pebbles at it, after which he went to his lodging in Mina, and sacrificed the animal. He then called for a barber and, turning his right side to him, let him shave him; after which he tiimed his left side. He then gave (these hair) to the people.  

مسلم:١٣٠٥aحَدَّثَنَا يَحْيَى بْنُ يَحْيَى أَخْبَرَنَا حَفْصُ بْنُ غِيَاثٍ عَنْ هِشَامٍ عَنْ مُحَمَّدِ بْنِ سِيرِينَ عَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّ رَسُولَ اللَّهِ ﷺ أَتَى مِنًى فَأَتَى الْجَمْرَةَ فَرَمَاهَا ثُمَّ أَتَى مَنْزِلَهُ بِمِنًى وَنَحَرَ ثُمَّ قَالَ لِلْحَلاَّقِ خُذْ وَأَشَارَ إِلَى جَانِبِهِ الأَيْمَنِ ثُمَّ الأَيْسَرِ ثُمَّ جَعَلَ يُعْطِيهِ النَّاسَ  


See similar narrations below:

Collected by Bayhaqī
bayhaqi:9400Abū ʿAbdullāh al-Ḥāfiẓ > Abū ʿAbdullāh Muḥammad b. Yaʿqūb > Yaḥyá b. Muḥammad b. Yaḥyá And Muḥammad b. ʿAbd al-Salām > Yaḥyá b. Yaḥyá > Ḥafṣ b. Ghiyāth > Hishām > Ibn Sīrīn > Anas b. Mālik

Anas b. Malik (Allah be pleased wish him) reported that Messenger of Allah ﷺ came to Mina; he went to the Jamra and threw pebbles at it, after which he went to his lodging in Mina, and sacrificed the animal. He then called for a barber and, turning his right side to him, let him shave him; after which he tiimed his left side. He then gave (these hair) to the people. (Using translation from Muslim 1305a)   

البيهقي:٩٤٠٠أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو عَبْدِ اللهِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا يَحْيَى بْنُ مُحَمَّدِ بْنِ يَحْيَى وَمُحَمَّدُ بْنُ عَبْدِ السَّلَامِ قَالَا ثنا يَحْيَى بْنُ يَحْيَى أنبأ حَفْصُ بْنُ غِيَاثٍ عَنْ هِشَامٍ عَنِ ابْنِ سِيرِينَ عَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّ رَسُولَ اللهِ ﷺ أَتَى مِنًى فَأَتَى الْجَمْرَةَ فَرَمَاهَا ثُمَّ أَتَى مَنْزِلَهُ بِمِنًى وَنَحَرَ ثُمَّ قَالَ لِلْحَلَّاقِ خُذْ وَأَشَارَ إِلَى جَانِبِهِ الْأَيْمَنِ ثُمَّ الْأَيْسَرِ ثُمَّ جَعَلَ يُعْطِيهِ النَّاسَ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ يَحْيَى بْنِ يَحْيَى وَأَخْرَجَهُ الْبُخَارِيُّ مِنْ حَدِيثِ ابْنِ عَوْنٍ عَنْ مُحَمَّدِ بْنِ سِيرِينَ