From Sahih Muslim (Hadith 6765):
Abu Huraira reported that Allahs Messenger (way peace be upon him) was asked about the children of the polytheists who die young. Thereupon Allah's Apostle (ﷺ) said:It is Allah Who knows what they would be doing
Reference: Muslim 6765