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:51:9

Deluded away from the Qur'an is he who is deluded.  

He is turned away therefrom, from the Prophet (s) and the Qur’ān, that is, ˹turned away˺ from believing therein, who has deviated, ˹who has been˺ turned away from guidance in God’s, exalted be He.
القرآن:٥١:٩

يُؤْفَكُ عَنْهُ مَنْ أُفِكَ  

{يؤفك عنه من أفك} صرف عن الهداية في علم الله تعالى.