Sunan Ibn Majah, Book 6, Hadith 1673 (In-Book)

It was narrated from Anas bin Malik that the Prophet said: “There are no two Muslims (mother and father), three of whose children die before reaching the age of puberty, but Allah will admit them to Paradise by virtue of His mercy towards them.”

حَدَّثَنَا يُوسُفُ بْنُ حَمَّادٍ الْمَعْنِيُّ، حَدَّثَنَا عَبْدُ الْوَارِثِ بْنُ سَعِيدٍ، عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ، عَنْ أَنَسِ بْنِ مَالِكٍ، عَنِ النَّبِيِّ ـ صلى الله عليه وسلم ـ قَالَ ‏ "‏ مَا مِنْ مُسْلِمَيْنِ يُتَوَفَّى لَهُمَا ثَلاَثَةٌ مِنَ الْوَلَدِ لَمْ يَبْلُغُوا الْحِنْثَ إِلاَّ أَدْخَلَهُمُ اللَّهُ الْجَنَّةَ بِفَضْلِ رَحْمَةِ اللَّهِ إِيَّاهُمْ ‏" ‏ ‏.‏

sunnah.com