Sahih Muslim Book 45, Hadith 143
I know of a wording, if he were to utter that, his fit of rage (would be no more and that wording is): I seek refuge with Allah from Satan the accursed. The person said: Do you find any madness in me? Ibn al-'Ala' said: Do you see it? And he made no mention of the person.
This hadith has been reported on the authority of Abu Huraira through another chain of transmitters.
I know of a wording; if he were to utter that, he would get out (of the fit of anger) (and the wording is): I seek refuge with Allah from Satan, the accursed. Thereupon, a person went to him who had heard that from Allah's Apostle (ﷺ) and said to him: Do you know what Allah's Messenger (ﷺ) said? He (the Holy Prophet) said: I know of a wording; if he were to say that, (the fit) would be no more (and the words are): I seek refuge with Allah from Satan, the accursed. And the person said to him: Do you find me mad?