Sunan Ibn Majah, Volume 2, Book 6, Hadith 1508 (DarusSalam) ⓘ
It was narrated from Jabir bin ‘Abdullah that the Messenger of Allah said: “If a child utters a sound (after being born), the funeral prayer should be offered for him and (his relatives) may inherit from him.”
حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا الرَّبِيعُ بْنُ بَدْرٍ، حَدَّثَنَا أَبُو الزُّبَيْرِ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " إِذَا اسْتَهَلَّ الصَّبِيُّ صُلِّيَ عَلَيْهِ وَوُرِثَ " .
also referenced under: Hadith 1508 (Reference) & Book 6, Hadith 1575 (In-Book)