Hadith 2281

Ibn ‘Abbas reported God’s messenger as saying, “The devil is couching at the heart of the son of Adam. When he mentions God he withdraws, but when he is neglectful he makes evil suggestions.” Bukhari mentioned it in a note.

وَعَنِ ابْنِ عَبَّاسٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «الشَّيْطَانُ جَاثِمٌ عَلَى قَلْبِ ابْنِ آدَمَ فَإِذَا ذَكَرَ اللَّهَ خَنَسَ وَإِذا غفَلَ وسوس» . رَوَاهُ البُخَارِيّ تَعْلِيقا

Reference: 5622810
In-book reference: Book 9, Hadith 2281