(3) باب اللَّهُ أَعْلَمُ بِمَا كَانُوا عَامِلِينَ
Narrated Ibn `Abbas:
The Prophet (ﷺ) ; 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 6597
In-book reference: Book 82, Hadith 4
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 77, Hadith 596