It wasnarrated from Jabir bin 'Abdullah that the Messenger of Allah(ﷺ)said:
"If a child utters a sound (after being born), the funeralprayer should be offered for him and (his relatives) may inherit fromhim." (FR)
English reference (FR): Vol. 1, Book 6, Hadith 1508 (FR)
Arabic reference (FR): Book 6, Hadith 1575 (FR)