Narrated Sulaiman bin Surd: While I was sitting in the company of the Prophet, two men abused each other and the face of one of them became red with anger, and his jugular veins swelled (ie he became furious). On that the Prophet said, "I know a word, the saying of which will cause him to relax, if he does say it. If he says: 'I seek Refuge with Allah from Satan'. then all is anger will go away". Some body said to him, "The Prophet has said, 'Seek refuge with Allah from Satan"'. The angry man said, "Am I mad?"
The values taught in this hadith are patience, self-control, faith in Allah's protection and seeking refuge in Him during times of distress or difficulty. We should also be mindful of our words when we are angry as they can have serious consequences on ourselves or others around us.