وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ ”مَا مِنْ مَوْلُودٍ يُولَدُ إِلَّا عَلَى هَذِهِ الْمِلَّةِ حَتَّى يُبَيِّنَ عَنْهُ لِسَانُهُ فَأَبَوَاهُ يُهَوِّدَانِهِ أَوْ يُنَصِّرَانِهِ أَوْ يُشَرِّكَانِهِ“ قَالُوا يَا رَسُولَ اللَّهِ كَيْفَ مَا كَانَ قَبْلَ ذَلِكَ قَالَ ”اللَّهُ أَعْلَمُ بِمَا كَانُوا عَامِلِينَ“
It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: Every child is born upon this religion of Islam, until he begins to speak; then his parents make him a Jew, a Christian, or a polytheist. The Companions asked: O Messenger of Allah! What will be the fate of those children who die before reaching that age? He (peace and blessings be upon him) said: Allah Almighty knows best what deeds they would have done.