Sulayman bin Surad reported,

Two men were trading insults in the presence of the Prophet ﷺ, and one of them began to grow furious until his face turned red. The Prophet ﷺ looked at him and said, "I know a word that, if he were to say it, this state would leave him. He should say, 'I seek refuge in Allah from Satan, the accursed.'"A man who had heard the Prophet ﷺ went over to the angry man and said, "Do you know what the Messenger of Allah ﷺ just said? He said, 'I know a word that, if he were to say it, this state would leave him. He should say, I seek refuge in Allah from Satan, the accursed.'"The man replied, "Do you think I am insane?"

Azami 11274

Sahih

عن سليمان بن صرد قال

استب رجلان عند النبي ﷺ، فجعل أحدهما يغضب ويحمر وجهه، فنظر إليه النبي ﷺ، فقال: إني لأعلم كلمة لو قالها لذهب ذا عنه: أعوذ بالله من الشيطان الرجيم فقام إلى الرجل رجل ممن سمع النبي ﷺ فقال: أتدري ما قال رسول الله ﷺ آنفا؟ قال: إني لأعلم كلمة لو قالها لذهب ذا عنه: أعوذ بالله من الشيطان الرجيم. فقال له الرجل: أمجنونا تراني؟

الأعظمي 11274صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications for various occasions
Section
What is said during anger
Numbering
Jami al-Kamil 11274 (2nd edition)
Azami 11274