Giving silver in charity equal to the weight of the hair shaved off a child on the seventh day after birth is not established. In this regard there is a narration that the Messenger of Allah ﷺ, on the blessed birth of Sayyiduna Hasan (may Allah be pleased with him), commanded Sayyidah Fatimah (may Allah be pleased with her) to give silver in charity equal to the weight of his hair.
Reference: Musannaf Ibn Abi Shaybah: 235/8, Musnad al-Imam Ahmad: 391, 390/6, al-‘Ilal li-Ibn Abi al-Dunya: 53
Comment:
But the chain of narration of this report is “da’if (weak)”, because:
Its narrator Abdullah bin Muhammad bin Aqil is “da’if (weak)” according to the majority of hadith scholars.