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.
quran:5:65

And if only the People of the Scripture had believed and feared Allah, We would have removed from them their misdeeds and admitted them to Gardens of Pleasure.  

But had the People of the Scripture believed, in Muhammad (s), and feared unbelief, We would have absolved them of their evil deeds and We would admitted them to Gardens of Bliss.
القرآن:٥:٦٥

وَلَوْ أَنَّ أَهْلَ الْكِتَابِ آمَنُوا وَاتَّقَوْا لَكَفَّرْنَا عَنْهُمْ سَيِّئَاتِهِمْ وَلَأَدْخَلْنَاهُمْ جَنَّاتِ النَّعِيمِ  

{ولو أن أهل الكتاب آمنوا} بمحمد ﷺ {واتقوا} الكفر {لكفرنا عنهم سيئاتهم ولأدخلناهم جنات النعيم}.