(58) باب تَجَاوُزِ اللَّهِ عَنْ حَدِيثِ النَّفْسِ، وَالْخَوَاطِرِ، بِالْقَلْبِ إِذَا لَمْ تَسْتَقِرَّ
It is narrated on the authority of Abu Huraira that the Messenger of Allah (ﷺ) observed:
Verily the Great and Mighty Allah forgave my people the evil promptings arising in their minds, but they neither talked about them nor acted upon them. (ID)
Reference (ID): Sahih Muslim 127 b (ID)
In-book reference (ID): Book 1, Hadith 239 (ID)
USC-MSA web (English) reference(deprecated numbering scheme): Book 1, Hadith 231 (ID)