حَدَّثَنَا عَلِيٌّ، حَدَّثَنَا سُفْيَانُ، قَالَ سَمِعْتُ الزُّهْرِيَّ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ لاَ يَمُوتُ لِمُسْلِمٍ ثَلاَثَةٌ مِنَ الْوَلَدِ، فَيَلِجَ النَّارَ إِلاَّ تَحِلَّةَ الْقَسَمِ ". قَالَ أَبُو عَبْدِ اللَّهِ {وَإِنْ مِنْكُمْ إِلاَّ وَارِدُهَا}."
Narrated Abu Huraira:
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)."
Reference: Sahih al-Bukhari 1251
In-book : Book 23, Hadith 14
USC-MSA web (English) : Vol. 2, Book 23, Hadith 342 (deprecated)