Sahih al-Bukhari 1381
Book 23: Funerals (Al-Janaa'iz) · Narrated by Anas bin Malik
Arabic
حَدَّثَنَا يَعْقُوبُ بْنُ إِبْرَاهِيمَ، حَدَّثَنَا ابْنُ عُلَيَّةَ، حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ صُهَيْبٍ، عَنْ أَنَسِ بْنِ مَالِكٍ ـ رضى الله عنه ـ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " مَا مِنَ النَّاسِ مُسْلِمٌ يَمُوتُ لَهُ ثَلاَثَةٌ مِنَ الْوَلَدِ لَمْ يَبْلُغُوا الْحِنْثَ إِلاَّ أَدْخَلَهُ اللَّهُ الْجَنَّةَ بِفَضْلِ رَحْمَتِهِ إِيَّاهُمْ ".
English translation
Narrated Anas bin Malik:Allah's Messenger (ﷺ) said, "Any Muslim whose three children died before the age of puberty will be granted Paradise by Allah because of His mercy to them
Reference: Sahih al-Bukhari 1381, Book of Funerals (Al-Janaa'iz). English translation by Dr. Muhammad Muhsin Khan.