Abu Dharr reported,

Yes, the Messenger of Allah ﷺ said, "There are no two Muslim parents between whom three children die before reaching the age of accountability except that Allah will forgive them both, by virtue of His mercy toward those children."

Nasai 1875

Sahih

أخبرنا إسمعيل بن مسعود قال حدثنا بشر بن المفضل عن يونس عن الحسن عن صعصعة بن معاوية قال لقيت

أبا ذر قلت حدثني قال

نعم قال رسول الله ﷺ ما من مسلمين يموت بينهما ثلاثة أولاد لم يبلغوا الحنث إلا غفر الله لهما بفضل رحمته إياهم

النسائي 1875صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Funerals
Chapter
Those who have three children die
Numbering
Darussalam 1875
Nasai 1875