BUKHARI 1251: from Abū Hurayrah —

The Prophet ﷺ said, "No Muslim whose three children died will go to the Fire except for Allah's oath (i.e. everyone has to pass over the bridge above the lake of fire)."

البخاري ١٢٥١: عن ابو هريره —

عَنِ النَّبِيِّ ﷺ قَالَ لاَ يَمُوتُ لِمُسْلِمٍ ثَلاَثَةٌ مِنَ الْوَلَدِ فَيَلِجَ النَّارَ إِلاَّ تَحِلَّةَ الْقَسَمِ قَالَ أَبُو عَبْدِ اللَّهِ {وَإِنْ مِنْكُمْ إِلاَّ وَارِدُهَا}


Agreed Upon (Luʿluʿ wa-al-Marjān)
Bukhārī > Janāʾiz (Funerals) > § The superiority of the person whose child dies
hadithunlocked.com