Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:4706Maḥmūd b. Khālid > al-Firyābī > Isrāʾīl > Abū Isḥāq > Saʿīd b. Jubayr > Ibn ʿAbbās > Ubay b. Kaʿb

I heard the Messenger of Allah (May peace be upon him) explaining the verse “As for the youth his parents were people of Faith,” he was created infidel the day when he was created.  

أبو داود:٤٧٠٦حَدَّثَنَا مَحْمُودُ بْنُ خَالِدٍ حَدَّثَنَا الْفِرْيَابِيُّ عَنْ إِسْرَائِيلَ حَدَّثَنَا أَبُو إِسْحَاقَ عَنْ سَعِيدِ بْنِ جُبَيْرٍ عَنِ ابْنِ عَبَّاسٍ قَالَ حَدَّثَنَا أُبَىُّ بْنُ كَعْبٍ قَالَ

سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ فِي قَوْلِهِ { وَأَمَّا الْغُلاَمُ فَكَانَ أَبَوَاهُ مُؤْمِنَيْنِ } وَكَانَ طُبِعَ يَوْمَ طُبِعَ كَافِرًا