Abdullah bin Zayd reported,

He witnessed the Prophet ﷺ at the place of sacrifice, being a man from the Ansar. The Messenger of Allah ﷺ distributed the sacrificial animals, but neither he nor his companion received any. The Prophet ﷺ then shaved his head, letting the hair fall into his garment, and gave it to him, who in turn distributed portions of it among Some men. He also clipped his nails and gave them to his companion. His hair remains with us to this day, dyed with henna and katam.

Azami 7211

Sahih

عن عبد الله بن زيد

أنه شهد النبي ﷺ عند المنحر-وهو رجل من الأنصار- فقسم رسول الله ﷺ ضحايا، فلم يصبه ولا صاحبه شيء، وحلق رأسه في ثوبه، فأعطاه وقسم منه على رجال، وقلم أظفاره فأعطاه صاحبه، فإن شعره عندنا لمخضوب بالحناء والكتم.

الأعظمي 7211صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sacrificial animals
Section
Eating, giving as gifts, and giving in charity from the meat of sacrificial animals
Numbering
Jami al-Kamil 7211 (2nd edition)
Azami 7211