Utba bin Abdul-Sulami reported,

I heard the Messenger of Allah ﷺ say, "There is no Muslim who loses three children before they reach the age of accountability except that they will meet him at the eight gates of Paradise, and he may enter through whichever of them he wishes."

Ibn Majah 1604

Sahih

حدثنا محمد بن عبد الله بن نمير قال حدثنا إسحق بن سليمان حدثنا حريز بن عثمان عن شرحبيل بن شفعة قال

لقيني عتبة بن عبد السلمي فقال

سمعت رسول الله ﷺ يقول ما من مسلم يموت له ثلاثة من الولد لم يبلغوا الحنث إلا تلقوه من أبواب الجنة الثمانية من أيها شاء دخل

ابن ماجه 1604صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Funerals
Chapter
Reward for one who loses his child
Numbering
Darussalam 1604
Ibn Majah 1604