Abu Hurairah reported,

The Messenger of Allah ﷺ said, "There is no woman among you who loses three of her children before they reach the age of accountability except that they will be a shield for her from the Fire."A woman asked, "And two?"He replied, "And two."

Azami 3362

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: ما منكم امرأة تقدم ثلاثة من ولدها لم يبلغوا الحنث إلا كان لها حجابا من النار. فقالت امرأة: واثنين؟ فقال: واثنين.

الأعظمي 3362صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Patience in tribulation and illness
Section
Whoever had children die and sought reward will enter Paradise
Numbering
Jami al-Kamil 3362 (2nd edition)