Sahih al-Bukhari 6598
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا يَحْيَى بْنُ بُكَيْرٍ، حَدَّثَنَا اللَّيْثُ، عَنْ يُونُسَ، عَنِ ابْنِ شِهَابٍ، قَالَ وَأَخْبَرَنِي عَطَاءُ بْنُ يَزِيدَ، أَنَّهُ سَمِعَ أَبَا هُرَيْرَةَ، يَقُولُ سُئِلَ رَسُولُ اللَّهِ صلى الله عليه وسلم عَنْ ذَرَارِيِّ الْمُشْرِكِينَ فَقَالَ {اللَّهُ أَعْلَمُ بِمَا كَانُوا عَامِلِينَ }
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)."
Full reference and source
Sahih al-Bukhari 6598 In-book : Book 82, Hadith 5 USC-MSA web (English) : Vol. 8, Book 77, Hadith 597 (deprecated)
View source on Sunnah.com (opens in a new tab)