Ayesha reported,

I asked, "Messenger of Allah, what about the children of the believers?"He replied, "They are with their fathers."I said, "Messenger of Allah, even without any deeds?"He answered, "Allah knows best what they would have done."I asked, "Messenger of Allah, and the children of the polytheists?"He said, "They are with their fathers."I said, "Without any deeds?"He replied, "Allah knows best what they would have done."

Abu Dawud 4712

Sahih

حدثنا عبد الوهاب بن نجدة حدثنا بقية ح و حدثنا موسى بن مروان الرقي وكثير بن عبيد المذحجي قالا حدثنا محمد بن حرب المعنى عن محمد بن زياد عن عبد الله بن أبي قيس

عن عائشة قالت

قلت يا رسول الله ذراري المؤمنين فقال هم من آبائهم فقلت يا رسول الله بلا عمل قال الله أعلم بما كانوا عاملين قلت يا رسول الله فذراري المشركين قال من آبائهم قلت بلا عمل قال الله أعلم بما كانوا عاملين

أبو داود 4712صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Sunnah
Chapter
Children of the polytheists
Numbering
Darussalam 4712
Abu Dawud 4712