Guide
How do you control anger in Islam?
The Qur'an praises "those who restrain anger and pardon people" (Al 'Imran 3:134). The Prophet, peace be upon him, taught specific things to do when anger rises: seek refuge with Allah from Shaytan (Sahih al-Bukhari 6115) and change your posture by sitting or lying down (Sunan Abi Dawud 4782, graded sahih by al-Albani). The aim is to control yourself, not to feel nothing.
If you are reading this, there is probably a moment you are thinking of. Something you said at home, or typed, or shouted in the car. Perhaps you prayed your salah (namaz) an hour before it, and that is what stings.
What Allah says about anger
The Qur'an describes the people of taqwa as:
"Those who spend in ease and in hardship, who restrain anger and pardon people. And Allah loves those who do good."Qur'an, Al 'Imran 3:134 (meaning in English)

Look at the wording. It says they restrain anger. It does not say they never feel it. The praise is for what they do with it.
Another verse describes believers as those who, "when they are angry, they forgive" (al-Shura 42:37).
What the Prophet taught
A man came to the Prophet, peace be upon him, and said, "Advise me." He said, "Do not become angry." The man asked again and again, and each time the answer was the same (Sahih al-Bukhari 6116).
He also redefined strength: "The strong is not the one who overcomes the people by his strength, but the strong is the one who controls himself while in anger" (Sahih al-Bukhari 6114).
Then he gave people something to do.
Words. Two men were insulting each other in front of him, and one went red in the face. The Prophet, peace be upon him, said he knew a sentence that would calm the man if he said it: "I seek refuge with Allah from Satan, the outcast" (Sahih al-Bukhari 6115). In transliteration: A'udhu billahi min ash-shaytan ir-rajim.
Posture. "When one of you becomes angry while standing, he should sit down. If the anger leaves him, well and good; otherwise he should lie down" (Sunan Abi Dawud 4782, graded sahih by al-Albani).
A note on wudu. You will often read that the Prophet, peace be upon him, told the angry person to make wudu. That report is in Sunan Abi Dawud 4784, and al-Albani graded it da'if (weak). Scholars have questioned its chain. Washing with water is still widely recommended by teachers for anger, and wudu is good at any time.
What the scholars wrote
Imam al-Ghazali devotes Book 25 of the Ihya to anger, rancour and envy. In summary, he treats anger as a heat that rises in the body, so it has to be handled physically first, before reasoning will work. That is why the Prophetic advice is about the tongue and the limbs: say this, sit down, lie down.
The teachers also separated two things. Anger for your own pride is the kind to restrain. Anger at real injustice is not counted as a disease of the heart. And they treated the slow, cold grudge that sits in a house for years as a separate problem that these steps will not reach.
The part of you that wants to win the argument is what the scholars call the nafs. We have written about it here: What is the nafs, and how do you control it?
Five steps for the moment it rises
The first two steps are from the hadith above. The sequence, the silence and the delay are our own exercise, drawn from those works. It is not a ruling and it adds nothing to the prayer itself.
Before you speak.
- Seek refuge. Quietly: A'udhu billahi min ash-shaytan ir-rajim.
- Change posture. If you are standing, sit. If you are sitting, lie down or lean back.
- Go to the tap. Wash your face and arms, or make wudu if you can. (See the note on wudu above.)
- Say nothing until the water has dried. Not one sentence. Anger wants a sentence out of you.
- Hold the reply until the next prayer. Whatever you were going to say or send, leave it. Pray that prayer as you normally would. If it still needs saying afterwards, say it then.

The steps do not remove the anger. What they remove is the short window in which anger turns into words.
This is where the five prayers help. The next prayer is rarely more than a few hours away, and you only need to hold your tongue until then. We cannot promise the prayer will cool you. It does give you a fixed point to wait for.
When this is not enough. If your anger has ever frightened the people you live with, or led you to hurt someone, these steps are not sufficient and should not be treated as sufficient. Please get help from a person: a doctor, a counsellor, or a trusted imam who can refer you. If you are the one who is frightened at home, please reach out to someone you trust or a local support service.
Questions people ask next
Is there a dua for anger control in Islam?
The words taught in the hadith are seeking refuge: "A'udhu billahi min ash-shaytan ir-rajim", "I seek refuge with Allah from Satan, the outcast" (Sahih al-Bukhari 6115). We did not find a longer, separate "anger dua" with a source we could verify, so we have not listed one.
Is there a prayer for anger control in Islam?
We do not know of a specific prayer prescribed for anger. The Qur'an tells believers in general to "seek help through patience and prayer" (al-Baqarah 2:153), and the five daily prayers are already in your day. For anything beyond that, ask a qualified teacher. More on patience here: What is sabr in Islam?
Is feeling angry a sin?
The verses praise restraining anger and forgiving when angry, which assumes the feeling arises. What a person says and does with it is where the sources focus. For a ruling on a particular situation, ask a qualified teacher.
I prayed and then lost my temper. Did my prayer not work?
One bad moment is not a verdict on your prayer. The change prayer brings is slow and usually looks like restraint, and nobody restrains themselves every time. Make the repair you owe, and pray the next prayer. More here: How does salah change your life?
Read next
- How does salah change your life, and why has it not changed mine?
- I lose my temper and the house goes quiet when I come in
- What is sabr in Islam?
- What is the nafs, and how do you control it?
- How do you show gratitude to Allah?
We are not scholars. We are practising Muslims curating what the scholars of this ummah already wrote, held to the standard of the Qur'an and Sunnah. Verify everything. Ask your local people of knowledge.
This article draws on "The five steps out of anger" in the Diseases of the Heart section of 120 Classical Practices, one of the eight books in Feel Your Prayer Again.