(3) باب اللَّهُ أَعْلَمُ بِمَا كَانُوا عَامِلِينَ
Narrated Abu Huraira:
Allah's Messenger (ﷺ) was asked about the offspring of the pagans. He said, "Allah knows what they would have done (were they to live)."
Reference: Sahih al-Bukhari 6598
In-book reference: Book 82, Hadith 5
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 77, Hadith 597