It is narrated on the authority of Abu Hurairah (RA) 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.
Hadith ReferenceSahih Muslim / The Book of Faith / Hadith: 127
Hadith Gradingمحدثین:أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij«أحاديث صحيح مسلم كلها صحيحة ، تقدم تخريجه برقم (327)»