Sunan an-Nasa'i 1952
سنن النسائي#1952Sahihأَخْبَرَنِي مُجَاهِدُ بْنُ مُوسَى، عَنْ هُشَيْمٍ، عَنْ أَبِي بِشْرٍ، عَنْ سَعِيدِ بْنِ جُبَيْرٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ سُئِلَ النَّبِيُّ صلى الله عليه وسلم عَنْ ذَرَارِيِّ الْمُشْرِكِينَ فَقَالَ " اللَّهُ أَعْلَمُ بِمَا كَانُوا عَامِلِينَ " .
It was narrated that Ibn 'Abbas said:"The Messenger of Allah was asked about he children of the idolators and he said: 'Allah knows best what they would have done
Scholarly Authentication
The label above is the grade most of these scholars gave — one dissenting opinion no longer speaks for all of them. If any scholar calls a narration fabricated, that verdict is shown instead, whatever the others say. Each scholar's own wording:
Abu GhuddahSahih
Al-AlbaniSahih
Zubair Ali ZaiHasan
In-book reference: 21:135