God says
Hence, if it should happen that a prompting from Satan stirs you up* (to blind anger), seek refuge with God: behold, He alone is all-hearing, all-knowing! -- Q.41:36
*Extreme anger is forbidden because in such a state one looses all norms of sane thinking and judgment. Besides, recurrence of it now and then can damage one’s health. However, rightly directed anger results in courage and heroism in a fight for self-defense, for instance.
.…and who, whenever they are moved by anger, readily forgive;” -- Q.42:37
Yet indeed, as for any who defend themselves after having being wronged – no blame whatsoever attaches to them: blame attaches but to those who oppress [other] people and behave outrageously on earth, offending against all right: for them there is greivious suffering in store!But withal, if one is patient in adversity and forgives – this, behold, is indeed something to set one’s heart upon!* -- Q.42: 41- 43
…. [the God-conscious] who spend [in His way] in time of plenty and in time of hardship, and who hold in check their anger, and pardon their fellow-men because God loves the doers of good.; -- Q.3:134
Prophet said
1. “A strong man is not he who would knock done others but the one who can control himself at the time of anger”– H: Bukhari and Muslim. N: Abu Hurairah.
2. “Whoever of you gets angry, let him perform ablution.”-- H: Abu Daud. N: Atiyah-b-Urwah As S’adi.
3. “Whenever any of you gets angry while standing, let him sit down. If it does not help, let him lie down”– H: Ahmed and Tirmizi. N: Abu Zarr.
4. “…. so fear anger. It is a burning coal in the heart of the son of Adam. Have you not seen the swelling of his neck and redness of his eyes?” – H: Tirmizi
5. “Anger is due to Satan’s instigation”--H: Abu Daud. N: Atiya-b-Urivah As-S’adi.