Abdullah bin Abbas (may Allah be pleased with him) narrates: A man came to the service of the Prophet Muhammad (peace be upon him) and said: "One of us feels something (i.e., a whisper) in his mind, and for him to be turned to ashes would be more beloved than for him to speak about that whisper." So the Prophet Muhammad (peace be upon him) said: "Allahu Akbar! All praise is due to Allah, who has turned this matter back to a mere whisper."
Hadith Referenceصحیح ابن حبان / كتاب الإيمان / 147
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الظلال» (1/ 296 / 658).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرطهما، وذر هو ابن عبد الله المرهبي.