- Published on
Dua for Anger: Islamic Supplications to Calm Yourself and Control the Nafs
- Authors

- Name
- Ahmad
- Role
- Senior Marketing Manager, Islamic education • Deen Back
بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
In the name of God, the Most Gracious, the Most Merciful.

Anger is one of the most honest human emotions. It often points at something real: an injustice, a betrayal, a violation of something that matters. Islam does not ask you to pretend you are not angry.
What Islam asks is what you do with it.
The Prophet ﷺ described the strong person not as the one who wins physical contests but as the one who controls himself when angry (Sahih Bukhari 6114). That kind of strength is not natural — it is built. And one of the most powerful tools for building it is supplication: specifically, the practice of turning to Allah in the exact moment when the nafs wants to turn outward in rage.
The dua for anger is not a passive retreat from conflict. It is an active intervention against the worst version of yourself — the version that Shaytan most wants to bring forward.
The Dua for Anger — The Prophet's Prescription
أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ
A'udhu billahi minash-shaytanir-rajeem
"I seek refuge in Allah from Shaytan, the accursed."
— (Sahih al-Bukhari 6048; Quran 7:200)
A companion came to the Prophet ﷺ and said: "Teach me something." The Prophet replied: "Do not get angry." The man asked again and again, and the Prophet repeated: "Do not get angry." (Sahih Bukhari 6116).
Later, when a man was observing two people arguing while the Prophet ﷺ was present, the Prophet said: "I know a word — if he were to say it, what he feels would leave him. If he said: A'udhu billahi minash-shaytanir-rajeem — what he feels would leave him." (Sahih Bukhari 6048).
This is the primary dua for anger. The Prophet ﷺ gave a diagnosis along with the prescription: the anger that leads us into destructive behavior is not just a psychological event — it is a moment when Shaytan gains influence. Seeking refuge from Shaytan directly addresses the spiritual dimension of what is happening.
The Dua for Relief From Anger's Aftermath
اللَّهُمَّ اغْفِرْ لِي وَاهْدِنِي وَارْزُقْنِي وَعَافِنِي
Allahumma-ghfir li wa-hdini wa-rzuqni wa 'afini
"O Allah, forgive me, guide me, provide for me, and grant me wellbeing."
— (Sahih Muslim 2697 — the Prophet's comprehensive dua after salah)
This is a dua to say after anger has passed — in the quiet that follows the storm, before you decide what to do next. It resets the heart by asking for what matters most: forgiveness for whatever you may have done, guidance for what to do now, and healing for what remains.
The Story Behind the Prophet's Anger Teachings
The Companion whose story is behind Bukhari 6048 was watching two men whose faces had turned red with rage. The Prophet's response — offering the specific words and the spiritual diagnosis — was characteristic of his prophetic method: precise, practical, and grounded in understanding the real dynamic of what was happening.
The Prophet ﷺ himself experienced anger — including legitimate anger at injustice. When sacred boundaries were violated, his companions described a visible change in his face. But never, in any narration, did he act in ways that were later regretted. His anger was always disciplined by his connection to Allah.
The scholars note that anger is one of Shaytan's favorite doorways because it bypasses the rational mind. In anger, people say things they cannot unsay, make decisions they spend years regretting, and harm relationships that took years to build. The dua for anger is a circuit breaker — a way of forcing a pause between stimulus and response.
How to Make the Anger Dua Your First Instinct
The problem with anger is that it moves fast. By the time you remember to say the dua, you may have already said three things you regret. The goal is to make A'udhu billahi minash-shaytanir-rajeem your first instinct — faster than the reaction.
This is not achieved by trying harder in the moment. It is achieved by training outside the moment.
Practice the dua outside of anger. Say A'udhu billahi minash-shaytanir-rajeem every morning as part of your adhkar, and every time you begin a significant task. When you have said it hundreds of times in neutral moments, it becomes available in charged ones.
Memorize the physical steps. The Prophet gave the physical prescription too: if you are standing, sit. If sitting, lie down. If still angry, make wudu. These physical interventions work because anger has a physical component — it needs to be interrupted at the body level, not just the mental level. Know these steps before you need them.
Build the pause. Between stimulus and response, the goal is to create a space. One breath. One second. One word. That is all it takes to say A'udhu billahi before responding. Practice building the pause during low-stakes moments and it will be there for the high-stakes ones.
Address what fuels your anger between incidents. Many people carry a background level of stress, resentment, or unresolved hurt that makes them chronically closer to the boiling point. Regular dhikr, adequate sleep, honest conversation about grievances, and the general maintenance of your spiritual health lower the baseline. The person who is already at 80% capacity before a provocation has almost no room to absorb it. The person who starts at 20% has plenty.
After anger, review honestly. The Prophet ﷺ said: "The intelligent person is the one who holds himself accountable and works for what comes after death." (Tirmidhi 2459). When an anger episode passes, sit with it briefly: Was the anger legitimate or ego-driven? Did I respond in a way that honored my values? What would I do differently? This reflection, done without self-flagellation, builds better responses over time.
Build the Daily Habits That Make Anger Easier to Manage
DeenBack tracks your daily adhkar and dhikr streaks — helping you maintain the consistent spiritual practice that lowers your anger threshold and builds real self-control.
Free download. Premium features available in-app.
Related Duas for Self-Control and Patience
Dua for patience in difficult moments:
رَبَّنَا أَفْرِغْ عَلَيْنَا صَبْرًا وَثَبِّتْ أَقْدَامَنَا وَانصُرْنَا عَلَى الْقَوْمِ الْكَافِرِينَ
Rabbana afrigh alayna sabran wa thabbit aqdamana...
"Our Lord, pour upon us patience and plant firmly our feet..." — (Quran 2:250 — the dua of those who faced a vastly superior force)
For the broader practice of building patience, the dua for patience covers authentic supplications and habit-building guidance. When anger is followed by actions you regret, the dua for repentance and dua for forgiveness are the proper next steps. Establishing a morning supplication practice that builds baseline spiritual health is covered in dua for waking up. For the comprehensive framework of building consistent Islamic habits around self-control, how to build daily Islamic habits is the practical guide.
Common Questions About Dua and Anger
What if saying the dua does not immediately calm me down? This is normal, especially early in the practice. The dua is planting a seed, not pulling an instant lever. Say it anyway. The scholars say the mere act of seeking refuge from Shaytan — even when you are still feeling angry — is spiritually significant. Consistency over time is what builds the response.
Is it ever permissible to express anger to the person who caused it? Yes — the Prophet ﷺ expressed displeasure clearly when it was warranted. The discipline is not suppression but control: expressing what needs to be expressed without crossing into harm. "I am hurt by this" is different from "You are worthless." One is honest communication; the other is nafs taking over.
What about righteous anger — anger for the sake of Allah? This is legitimate and was part of the Prophet's emotional range. When the prayer was disrespected, when orphans were wronged, when the weak were exploited — the Prophet responded with clear, disciplined anger. The mark of righteous anger is that it is proportionate, directed at the wrong rather than the person, and ultimately aimed at correction rather than revenge.
Can children be taught this dua? Absolutely. Teaching children to say A'udhu billahi minash-shaytanir-rajeem when they feel angry is one of the most valuable things a parent can do. It gives them both a tool and a framework for understanding what anger is. The Prophet ﷺ taught children duas from a young age.
Anger Is a Test — Dua Is the Training
The Prophet ﷺ did not say "Do not feel angry." He said "Do not get angry" — meaning do not let it take over, do not act from it, do not let the nafs turn it into a weapon. The distinction is between feeling and acting.
The dua for anger is part of the daily training that makes it possible to feel something deeply without being controlled by it. Over months and years, the person who consistently makes A'udhu billahi their first response builds a different kind of character — one where the nafs has been disciplined enough to pause, to breathe, to choose.
That is the Muslim the Prophet ﷺ described as strong.
Train Your Nafs With Daily Dhikr and Supplication
DeenBack tracks your daily adhkar, dhikr, and Islamic habit streaks — building the consistent spiritual practice that gives you real control when anger rises.
Free download. Premium features available in-app.
Frequently Asked Questions
What is the Islamic dua for anger?
The Prophet prescribed: A'udhu billahi minash-shaytanir-rajeem — I seek refuge in Allah from Shaytan, the accursed — as the immediate response to anger (Sahih Bukhari 6048). This is not just a formula — it is a diagnosis: anger that makes us act in ways we regret is Shaytan's entry point.
Is anger always haram in Islam?
No. Anger for the sake of Allah — at injustice, oppression, violation of sanctities — is legitimate and even required. What Islam restricts is anger of the nafs: rage driven by ego, wounded pride, or personal frustration. The distinction is in whether the anger serves Allah's purpose or our own.
What practical steps did the Prophet prescribe for anger?
The Prophet gave several prescriptions: (1) Say A'udhu billahi minash-shaytanir-rajeem. (2) If standing, sit. If sitting, lie down. (3) Make wudu, as anger is fire and water extinguishes fire. (4) Change your physical state — move to a different space. These are physical and spiritual interventions working together.
What if I already said or did something harmful in anger?
Make sincere tawbah and address the harm caused. If you hurt someone, apologize directly and specifically. The Prophet did not shame his Companions for moments of anger — he corrected them and helped them build better responses. Repentance for anger-driven actions is straightforward: acknowledge, repair, and build better habits.
Can making dua prevent anger from rising in the first place?
Yes — through consistent morning adhkar and regular connection to Allah, the threshold for anger tends to rise over time. The person who starts their day with thirty minutes of dhikr and Quran approaches provocations differently than one who starts with social media. Dua does not just respond to anger — it prevents some of it.
