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:7:37

And who is more unjust than one who invents about Allah a lie or denies His verses? Those will attain their portion of the decree until when Our messengers come to them to take them in death, they will say, "Where are those you used to invoke besides Allah?" They will say, "They have departed from us," and will bear witness against themselves that they were disbelievers.  

And who — that is, none — does greater evil than he who invents a lie against God, by ascribing to Him a partner or a child, or denies His signs?, the Qur’ān. Those — their portion, their lot, of the Scripture, of what has been inscribed as theirs in the Preserved Tablet (al-lawh al-mahfūz), in the way of provision, term ˹of life˺ and other matters, shall reach them until, when Our messengers, the angels, come to them, to take their souls, they say, to them, in reprimand: ‘Where is that which you were calling upon, worshipping, beside God?’ They will say, ‘They have gone astray from us’, they are not present ˹before us˺, and so we cannot see them; and they will bear witness against themselves, upon death, that they were disbelievers.
القرآن:٧:٣٧

فَمَنْ أَظْلَمُ مِمَّنِ افْتَرَىٰ عَلَى اللَّهِ كَذِبًا أَوْ كَذَّبَ بِآيَاتِهِ ۚ أُولَٰئِكَ يَنَالُهُمْ نَصِيبُهُمْ مِنَ الْكِتَابِ ۖ حَتَّىٰ إِذَا جَاءَتْهُمْ رُسُلُنَا يَتَوَفَّوْنَهُمْ قَالُوا أَيْنَ مَا كُنْتُمْ تَدْعُونَ مِنْ دُونِ اللَّهِ ۖ قَالُوا ضَلُّوا عَنَّا وَشَهِدُوا عَلَىٰ أَنْفُسِهِمْ أَنَّهُمْ كَانُوا كَافِرِينَ  

{فمن} أي لا أحد {أظلم ممن افترى على الله كذبا} بنسبة الشريك والولد إليه {أو كذَّب بآياته} القرآن {أولئك ينالهم} يصيبهم {نصيبهم} حظهم {من الكتاب} مما كتب لهم في اللوح المحفوظ من الرزق والأجل وغير ذلك {حتى إذا جاءتهم رسلنا} أي الملائكة {يتوفونهم قالوا} لهم تبكيتا {أين ما كنتم تدعون} تعبدون {من دون الله قالوا ضلُّوا} غابوا {عنا} فلم نرهم {وشهدوا على أنفسهم} عند الموت {أنهم كانوا كافرين}.