Volume 2 · Book 23 · Hadith 465
Narrated Ibn Abbas: Allah's Apostle (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."
— Sahih Bukhari, Volume 2, Book 23: Funerals (Al-Janaa'iz), Hadith #465