Sunan an-Nasa'i · Hadith 1950
The Book of Funerals - كتاب الجنائز
أخبرنا محمد بن عبد الله بن المبارك، قال حدثنا الأسود بن عامر، قال حدثنا حماد، عن قيس، - هو ابن سعد - عن طاوس، عن أبي هريرة، أن النبي صلى الله عليه وسلم سئل عن أولاد المشركين فقال " الله أعلم بما كانوا عاملين " .
It was narrated that Abu Hurairah said: "The Messenger of Allah was asked about the children of the idolators and he said: 'Allah knows best what they would have done."'
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).