The Prophet (ﷺ) was asked about the offspring of pagans (Mushrikeen); so he said, "Allah knows what sort of deeds they would have done."
Sahih al-Bukhari Book 23, Hadith 136