Abu Hurairah reported,

The Messenger of Allah ﷺ was asked about the children of the polytheists who die young. He replied, "Allah knows best what they would have done."

Muslim 6764

Sahih

حدثنا ابن أبي عمر حدثنا سفيان عن أبي الزناد عن الأعرج

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

سئل رسول الله ﷺ عن أطفال المشركين من يموت منهم صغيرا فقال الله أعلم بما كانوا عاملين

مسلم 6764صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Decree
Chapter
Meaning of "every child is born upon fitrah" and the ruling on the death of children of disbelievers and children of Muslims
Numbering
Darussalam 6764
Muslim 6764