Sahih al-Bukhari, Book 23, Hadith 136 (Bukhari 1336)

Narrated Abu Huraira:

The Prophet (ﷺ) was asked about the offspring of pagans (Mushrikeen); so he said, "Allah knows what sort of deeds they would have done."