Abu Dawud Book 36, Hadith Number 5093.

Chapter : Not known.

Narated By Abdullah ibn Abbas : A man came to the Prophet (PBUH) and said: Apostle of Allah! one of us has thoughts of such nature that he would rather be reduced to charcoal than speak about them. He said: Allah is Most Great, Allah is Most Great, Allah is Most Great. Praise be to Allah Who has reduced the guile of the devil to evil prompting. Ibn Qudamah said “reduced his matter” instead of “reduced his guile”.