Fiqh-us-Sunnah Volume 4, Funerals and Dhikr, Fiqh 4.133.

Section : When One is Angry.

Sulaiman b. Sard said, “I was sitting with the Prophet, peace be upon him, when two men abused each other and one of them became so angry that his face became swollen and changed. The Prophet, peace be upon him, said, ‘I know a word that that will cause him to relax, and this is, “I seek refuge with Allah from Satan, the accursed.” (If he said these words) his anger will cool down.’ (Muslim and Bukhari)