Mishkat al-Masabih
Mishkat al-Masabih 3050
Arabic hadith text
وَعَنْ جَابِرٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا اسْتَهَلَّ الصَّبِيُّ صُلِّيَ عَلَيْهِ وَورث» . رَوَاهُ ابْن مَاجَه والدارمي
Translation
Jabir reported that the Messenger of Allah ﷺ said: “If a newborn cries at birth, the funeral prayer is performed over the child and the child inherits.” Ibn Majah and al-Darimi narrated it.