عَنِ ابْنِ عَبَّاسٍ أَنَّ النَّبِي جَاءَهُ رَجُلٌ فَقَالَ إنّی أُحَدِّثُ نَفْسِي بِالشَّيِّ لَأَنْ أَكُونَ حُمَمَةٌ أَحَبُّ إِلَيَّ مِنْ أَنْ أَتَكَلَّمَ بِهِ، قَالَ الْحَمْدُ لِلَّهِ الَّذِى رَدَّ أَمْرَهُ إِلَى الْوَسْوَسَةِ - (رواه ابو داؤد)
Translation
Hazrat Abdullah bin Abbas (may Allah be pleased with them both) narrated that a man came to the Messenger of Allah (peace and blessings of Allah be upon him) and submitted: "Sometimes such evil thoughts come to my heart that being burnt to become coal is more beloved to me than that I should utter them with my tongue." He (peace and blessings of Allah be upon him) said: "Praise be to Allah and gratitude to Him, Who has turned his matter back to (mere) whispering (of Shaytan)." (Abu Dawud, Maarif-ul-Hadith)