Ibn Abbas reported that Messenger of Allah ﷺ was asked about the children of the polytheists, whereupon he said: It is Allah alone Who knows what they would be doing according to their creation.
وَحَدَّثَنَا يَحْيَى بْنُ يَحْيَى، أَخْبَرَنَا أَبُو عَوَانَةَ، عَنْ أَبِي بِشْرٍ، عَنْ سَعِيدِ بْنِ جُبَيْرٍ،
عَنِ ابْنِ عَبَّاسٍ، قَالَ سُئِلَ رَسُولُ اللَّهِ ﷺ عَنْ أَطْفَالِ الْمُشْرِكِينَ قَالَ
" اللَّهُ أَعْلَمُ بِمَا كَانُوا عَامِلِينَ إِذْ خَلَقَهُمْ " .