Ayesha reported,

In the days of ignorance, when people performed the aqiqah sacrifice for a child, they would dye a piece of cotton with the blood of the sacrifice, and after shaving the child's head they would place it on his head. The Prophet ﷺ said, "Use khaluq perfume in place of the blood."

Azami 7237

Sahih

عن عائشة قالت

كانوا في الجاهلية إذا عقوا عن الصبي خضبوا قطنة بدم العقيقة، فإذا حلقوا رأس الصبي وضعوها على رأسه فقال النبي ﷺ: اجعلوا مكان الدم خلوقا.

الأعظمي 7237صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Aqiqah
Section
Smearing the head of the child with the blood of the aqiqah is from the practices of Jahiliyyah and its replacement in Islam with saffron
Numbering
Jami al-Kamil 7237 (2nd edition)
Azami 7237