Hadith 11

Sahih Bukhari

Book 23: Funerals (Al-Janaa'iz)

Chapter 6

The superiority of the person whose child dies

باب فَضْلِ مَنْ مَاتَ لَهُ وَلَدٌ فَاحْتَسَبَ

And the Statement of Allah عز وجل: …Give glad tidings to As-Sabirin (the patient). (V.2:155) ​​
وَقَالَ اللَّهُ عَزَّ وَجَلَّ: {وَبَشِّرِ الصَّابِرِينَ}
Sahih al-Bukhari 1248
حَدَّثَنَا أَبُو مَعْمَرٍ، حَدَّثَنَا عَبْدُ الْوَارِثِ، حَدَّثَنَا عَبْدُ الْعَزِيزِ، عَنْ أَنَسٍ ـ رضى الله عنه ـ قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم ‏ ‏‏.‏
"‏ مَا مِنَ النَّاسِ مِنْ مُسْلِمٍ يُتَوَفَّى لَهُ ثَلاَثٌ لَمْ يَبْلُغُوا الْحِنْثَ، إِلاَّ أَدْخَلَهُ اللَّهُ الْجَنَّةَ بِفَضْلِ رَحْمَتِهِ إِيَّاهُمْ ‏"
Anas:

The Prophet (ﷺ) said, "A Muslim whose three children die before the age of puberty will be granted Paradise by Allah due to his mercy for them."