حَدَّثَنَا إِسْمَاعِيلُ، قَالَ حَدَّثَنِي مَالِكٌ، عَنِ ابْنِ شِهَابٍ، عَنِ ابْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ لاَ يَمُوتُ لأَحَدٍ مِنَ الْمُسْلِمِينَ ثَلاَثَةٌ مِنَ الْوَلَدِ، تَمَسُّهُ النَّارُ، إِلاَّ تَحِلَّةَ الْقَسَمِ "
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said, "Any Muslim who has lost three of his children will not be touched by the Fire except that which will render Allah's oath fulfilled."
Reference: Sahih al-Bukhari 6656
In-book : Book 83, Hadith 35
USC-MSA web (English) : Vol. 8, Book 78, Hadith 650 (deprecated)