Raja reported,

I was with the Messenger of Allah ﷺ when a woman came carrying her son and said, "Messenger of Allah, pray to Allah to bless him for me, for I have already lost three children."The Messenger of Allah ﷺ asked her, "Has this been since you embraced Islam?"She replied, "Yes."The Messenger of Allah ﷺ said to her, "A fortified shield."A man then said to me, "Listen, Raja, to what the Messenger of Allah ﷺ is saying."

Azami 3372

Sahih

عن امرأة يقال لها: رجاء قالت

كنت عند رسول الله ﷺ إذ جاءت امرأة بابن لها فقالت: يا رسول الله! ادع الله لي فيه بالبركة؛ فإنه قد توفي لي ثلاثة. فقال لها رسول الله ﷺ: أمنذ أسلمت؟ قالت: نعم. قال لها رسول الله ﷺ: جنة حصينة. فقال لي رجل: اسمعي يا رجاء ما يقول رسول الله ﷺ.

الأعظمي 3372صحيح
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 3372 (2nd edition)
Azami 3372