Sahih al-Bukhari #1383
Funerals (Al-Janaa'iz) 23:136
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."