If a newborn cries, he is an heir Sunan Ibn Majah 2750

Arabic hadith text
حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا الرَّبِيعُ بْنُ بَدْرٍ، حَدَّثَنَا أَبُو الزُّبَيْرِ، عَنْ جَابِرٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ إِذَا اسْتَهَلَّ الصَّبِيُّ صُلِّيَ عَلَيْهِ وَوَرِثَ ‏"
Translation
It wasnarrated from Jabir that the Messenger of Allah (ﷺ) said

“If thechild has cired, the (funeral) prayer should be offered forhim (ifhe dies) and he is an heir.”