Sayyiduna Jabir (may Allah be pleased with him) narrates this statement of the Noble Prophet (peace and blessings be upon him): "When a child cries out at birth, his funeral prayer will also be performed and the rulings of inheritance will also apply to him."
Hadith Referenceصحیح ابن حبان / كتاب الفرائض / 6032
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح إلا الصلاة عليه - «صحيح أبي داود» (2593)، «أحكام الجنائز» (81)، «الصحيحة» (153).فضيلة الشيخ العلّامة شُعيب الأرناؤوطرجاله ثقات رجال الصحيح