Hadith 54

the Messenger of Allah (ﷺ) said, "No Muslim who has had three of his children die young will enter the Hellfire, except to expiate an unfulfilled oath.

Abu Hurayra (رضي الله عنه)Al-Adab Al-Mufrad 143Adab on Children’s Death