The Messenger of Allah ﷺ was asked about the children of the polytheists. He replied, "Allah knows best what they would have done had He let them live."
و حدثنا يحيى بن يحيى أخبرنا أبو عوانة عن أبي بشر عن سعيد بن جبير
سئل رسول الله ﷺ عن أطفال المشركين قال الله أعلم بما كانوا عاملين إذ خلقهم