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:43:36

And whoever is blinded from remembrance of the Most Merciful - We appoint for him a devil, and he is to him a companion.  

And whoever withdraws from, ˹whoever˺ is oblivious, to the Remembrance of the Compassionate One, namely, the Qur’ān, We assign, We produce, for him a devil and he becomes his companion, never leaving his side.
القرآن:٤٣:٣٦

وَمَنْ يَعْشُ عَنْ ذِكْرِ الرَّحْمَٰنِ نُقَيِّضْ لَهُ شَيْطَانًا فَهُوَ لَهُ قَرِينٌ  

{ومن يعش} يعرض {عن ذكر الرحمن} أي القرآن {نقيض} نسبب {له شيطاناً فهو له قرين} لا يفارقه.