Sunan an-Nasa'i #1951 · The Book of Funerals

Sunan an-Nasa'iIt was narrated that Ibn 'Abbas said
Sunan an-Nasa'i · Book 21 · The Book of Funerals
Sunan an-Nasa'i · كتاب 21 · كتاب الجنائز
"The Messenger of Allah was asked about the children of the idolators and he said: 'Allah created them when He created them, and He knows best what they would have done
أَخْبَرَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، قَالَ حَدَّثَنَا عَبْدُ الرَّحْمَنِ، قَالَ حَدَّثَنَا شُعْبَةُ، عَنْ أَبِي بِشْرٍ، عَنْ سَعِيدِ بْنِ جُبَيْرٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ سُئِلَ رَسُولُ اللَّهِ صلى الله عليه وسلم عَنْ أَوْلاَدِ الْمُشْرِكِينَ فَقَالَ ‏
"‏ خَلَقَهُمُ اللَّهُ حِينَ خَلَقَهُمْ وَهُوَ يَعْلَمُ بِمَا كَانُوا عَامِلِينَ ‏"‏ ‏.‏
Reference : Sunan an-Nasa'i 1951In-book reference : Book 21, Hadith 134