USC-MSA web (English) : Book 16, Hadith 39
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ مُحَمَّدِ بْنِ أَبِي بَكْرِ بْنِ عَمْرِو بْنِ حَزْمٍ، عَنْ أَبِيهِ، عَنْ أَبِي النَّضْرِ السَّلَمِيِّ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ لاَ يَمُوتُ لأَحَدٍ مِنَ الْمُسْلِمِينَ ثَلاَثَةٌ مِنَ الْوَلَدِ فَيَحْتَسِبُهُمْ إِلاَّ كَانُوا جُنَّةً مِنَ النَّارِ " . فَقَالَتِ امْرَأَةٌ عِنْدَ رَسُولِ اللَّهِ صلى الله عليه وسلم يَا رَسُولَ اللَّهِ أَوِ اثْنَانِ قَالَ " أَوِ اثْنَانِ " ."
Yahya related to me from Malik from Muhammad ibn Abi Bakr ibn Amr ibn Hazm from his father from Abu 'n-Nadr as-Salami that the Messenger of Allah (ﷺ) said, "If three of a muslim's children die, and he remains content with that, they will be a protection for him from the Fire." A woman who was with the Messenger of Allah (ﷺ) said, "Or two, Messengerof Allah?", and he said, "Or two."
Full reference and source
USC-MSA web (English) : Book 16, Hadith 39 Arabic : Book 16, Hadith 561
View source on Sunnah.com (opens in a new tab)