Sahih Muslim, Book 46, Hadith 41 (Muslim 6689)

Abu Huraira reported that Allah's Messenger (ﷺ) was asked about the children of the polytheists, whereupon he said:

It is Allah Who knows best what they would be doing.