Sahih al-Bukhari, Book 23, Hadith 135 (Bukhari 1335)
Narrated Ibn `Abbas:
Allah's Messenger (ﷺ) (p.b.u.h) was asked about the children of (Mushrikeen) pagans. The Prophet (ﷺ) replied, "Since Allah created them, He knows what sort of deeds they would have done."