Sahih Muslim 2610 b
Sulaiman b. Surad reported that two persons abused each other in the presence of Allah's Apostle (ﷺ) and one of them fell into a rage and his face became red. Allah's Apostle (ﷺ) saw him and said:
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?
حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ، حَدَّثَنَا أَبُو أُسَامَةَ، سَمِعْتُ الأَعْمَشَ، يَقُولُ سَمِعْتُ 
 عَدِيَّ بْنَ ثَابِتٍ، يَقُولُ حَدَّثَنَا سُلَيْمَانُ بْنُ صُرَدٍ، قَالَ اسْتَبَّ رَجُلاَنِ عِنْدَ النَّبِيِّ صلى الله عليه
 وسلم فَجَعَلَ أَحَدُهُمَا يَغْضَبُ وَيَحْمَرُّ وَجْهُهُ فَنَظَرَ إِلَيْهِ النَّبِيُّ صلى الله عليه وسلم فَقَالَ
 ‏"‏ إِنِّي لأَعْلَمُ كَلِمَةً لَوْ قَالَهَا لَذَهَبَ ذَا عَنْهُ أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ ‏"‏ ‏.‏ فَقَامَ إِلَى
 الرَّجُلِ رَجُلٌ مِمَّنْ سَمِعَ النَّبِيَّ صلى الله عليه وسلم فَقَالَ أَتَدْرِي مَا قَالَ رَسُولُ اللَّهِ صلى
 الله عليه وسلم آنِفًا قَالَ ‏"‏ إِنِّي لأَعْلَمُ كَلِمَةً لَوْ قَالَهَا لَذَهَبَ ذَا عَنْهُ أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ
 الرَّجِيمِ ‏"‏ ‏.‏ فَقَالَ لَهُ الرَّجُلُ أَمَجْنُونًا تَرَانِي