Anger is one of the evil whispers of Shaytan, which leads to so many evils and tragedies, of which only Allah knows their full extent. For this reason Islam has a great deal to say about this bad characteristic, and the Prophet (saws) described cures for this “disease” and ways to limit its effects, among which are the following:
(1) Seeking refuge with Allah from the Shaytaan:
Sulayman ibn Sard said: “I was sitting with the Prophet (saws), and two men were slandering one another. One of them was red in the face, and the veins on his neck were standing out.
The Prophet (saws) said, I know a word which, if he were to say it, what he feels would go away. If he said “I seek refuge with Allah from the Shaytan,” what he feels (i.e., his anger) would go away.’”
(Reported by al-Bukhari, al-Fath, 6/337)
The Prophet (saws) said: “If a man gets angry and says, I seek refuge with Allah, his anger will go away.” (Saheeh al-Jaami‘ al-Sagheer, no. 695)
(2) Keeping silent
The Messenger of Allah (saws) said: “If any of you becomes angry, let him keep silent.” (Reported by Imam Ahmad, al-Musnad, 1/329; see also Sahih al-Jaami, 693, 4027)
This is because in most cases, the angry person loses self control and could utter words of kufr (from which we seek refuge with Allah), or curses, or the word of divorce (talaaq) which would destroy his home, or words of slander which would bring him the enmity and hatred of others. So, in short, keeping silent is the solution which helps one to avoid all that.
(3) Not moving
The Messenger of Allah (saws) said: “If any of you becomes angry and he is standing, let him sit down, so his anger will go away; if it does not go away, let him lie down.”

