- Published on
Dua for Someone Who Hurt You: The Prophetic Way to Heal
- Authors

- Name
- Ahmad
- Role
- Senior Marketing Manager, Islamic education โข Deen Back
ุจูุณูู ู ุงูููู ุงูุฑููุญูู ูฐูู ุงูุฑููุญูููู ู
In the name of God, the Most Gracious, the Most Merciful.

Someone hurt you. Maybe it was a betrayal โ a friend who turned on you, a family member who said something that cannot be unsaid, a person at work who stabbed you in the back. Maybe it was smaller but still stings. Maybe it was something that happened years ago that you still carry.
The nafs has a very clear program for what to do with that pain: hold it. Rehearse it. Plan the response. Calculate what is owed. The inner voice can build an entire case around being wronged, and it will prosecute that case in your own mind at 2 a.m. for months.
Islam offers a different path. Not an easy one โ an actually difficult one that requires more from you than resentment does. It is the path the Prophet walked at Taif, bleeding and refused, when he made a choice that changed how Islam thinks about responses to being wronged.
The Dua
The Prophet's dua at Taif โ the model for all wronged Muslims:
When the people of Taif rejected the Prophet (peace be upon him), threw him out, and sent their youth to chase him with stones until his sandals filled with blood โ the Angel Jibreel came and offered to bring the mountains crashing down on them.
The Prophet refused. And instead, he made dua:
ุงููููููู ูู ุงุบูููุฑู ููููููู ูู ููุฅููููููู ู ููุง ููุนูููู ูููู
Allahumma-ghfir li-qawmi fa-innahum la ya'lamun.
"O Allah, forgive my people, for they do not know." โ (Bukhari 3477)
For someone specific who wronged you:
ุงููููููู ูู ุงุบูููุฑู ูููู ููุงููุฏููู
Allahumma-ghfir lahu wa-hdih.
"O Allah, forgive him and guide him."
Use laha for a woman. You may say their name privately in dua โ it is between you and Allah.
When you want to release the hurt entirely:
ุงููููููู ูู ุฎูุฐู ุจูุญููููู ููุฃูููุชู ุฎูููุฑู ุงูุขุฎูุฐูููู
Allahumma khudh bi-haqqi wa anta khayrul-akhidhin.
"O Allah, take my right, for You are the best of those who take."
This is the dua of releasing the claim โ choosing to let Allah handle the justice rather than pursuing it yourself.
The Story Behind It
The incident at Taif is, by any measure, the worst day the Prophet experienced outside of Uhud. He had gone hoping to find support for the growing Muslim community. He was rejected, mocked, and physically attacked. He sheltered in an orchard, bleeding and exhausted.
Then Jibreel arrived with the Angel of the Mountains, who said he was ready to bring the two mountains flanking Taif down upon its people. The Prophet had the power to end them. He had the moral standing โ he had been wronged. He declined.
"I hope that Allah will bring forth from their descendants people who will worship Allah alone and associate nothing with Him." (Bukhari 3231)
He was thinking about who might be born to those people one day, hoping they would come to Islam. He was praying for the future of the people whose children had just stoned him.
This is the scale of the prophetic response to being wronged. And it is why Islam calls this โ choosing forgiveness and dua over retaliation โ among the highest actions a believer can take.
How to Actually Do This When the Pain Is Real
This is not meant to be easy. The nafs resists it intensely. Here is a practical framework:
Do not start with forgiveness โ start with dua. You do not have to feel forgiveness to make dua for the person. You do not have to feel warmth or goodwill. You can say the words while the resentment is still there, and ask Allah to change your heart along the way. Start with the action; let the feeling follow.
Say the dua specifically, with their name, in private. There is something powerful about saying a person's name before Allah and asking for their guidance and forgiveness. It is harder than vague generality. It is also more effective โ on your own heart, not just theirs.
Make the dua consistently, not just once. The emotional shift that comes from praying for someone who wronged you does not happen in one session. Do it for thirty days. Say their name in your post-Salah dua. Ask Allah to guide them. Watch what happens to the resentment over time. This is the practice โ not a one-time act.
Separate dua from proximity. Making dua for someone does not mean inviting them back into your life. Forgiveness in Islam and reconciliation are different things. You can pray sincerely for a person's guidance while maintaining appropriate distance from them. The dua is for your soul and theirs; the boundary decisions are practical, not spiritual compromises.
Accept that justice is Allah's, not yours. Part of what makes carrying resentment exhausting is the underlying feeling that justice has not been served. The dua Allahumma khudh bi-haqqi โ O Allah, take my right โ is a genuine transfer: you are acknowledging that Allah is the Just and that pursuing your own justice has a cost to your spiritual state that may not be worth it. Leaving it to Allah is not weakness. It is one of the highest forms of tawakkul.
Let Dua Transform What Resentment Cannot
DeenBack helps you build a consistent daily dua practice โ including the specific supplications that heal the heart from within. Build your streak and let thirty days of sincere dua change what months of holding on could not.
Free download. Premium features available in-app.
Related Duas
Dua after being wronged: The dua after being wronged covers the authenticated supplications for justice and relief when you have been treated unjustly โ the appropriate balance to the forgiveness dua.
Dua for healing relationships: If you want the relationship with the person who hurt you to be healed, the dua for healing relationships gives you the supplications for mending what was broken.
Dua for patience: Choosing forgiveness requires sustained sabr, not just a moment of it. The dua for patience gives you the Quranic and prophetic supplications for endurance over time.
Dua for guidance: The deepest thing you can wish for someone who wronged you is that Allah guides them. The dua for guidance covers the comprehensive supplications for others to be shown the straight path.
Common Questions
What if the person who hurt me is not sorry?
The dua does not depend on their remorse. You are not making dua because they deserve it โ you are making dua because this is who you are trying to be, and because the reward for it is yours regardless of their response. The Prophet's dua at Taif was not conditional on the people of Taif apologizing first.
Does making dua for them let them off the hook?
No. Your dua does not override Allah's justice. If they wronged you and do not repent, they will face that accounting before Allah. Your dua for their guidance is a separate matter โ you are asking Allah to open a door for them. Whether they walk through it is between them and Allah.
I have been praying for the person but still feel resentment. What is wrong?
Nothing. This is normal. Resentment is an emotion; dua is an action. The two are not synchronized on a schedule. Keep making the dua. The research on forgiveness โ and the centuries of Islamic spiritual guidance โ both point to the same thing: forgiveness comes through the practice, not as a prerequisite to it. Continue the dua and be patient with your own heart.
Closing
You were wronged. That is real. And Islam does not ask you to pretend otherwise, suppress the pain, or skip straight to warmth and goodwill.
It asks you to begin with one thing: a dua. Not for yourself โ for them. Because the Prophet showed, at the worst moment of his mission, that the most spiritually powerful response to being hurt is to ask Allah to guide the one who did the hurting.
That is not weakness. That is the closest a human being can come to the character of the Prophet (peace be upon him).
Transform Hurt into Habit with Daily Dua
DeenBack is for Muslims who want their daily practice to do real inner work โ not just recite words. Build the thirty-day dua streak that can change your heart from the inside out.
Free download. Premium features available in-app.
Frequently Asked Questions
What dua do I say for someone who has hurt me?
The Prophet's model at Taif was: Allahumma-ghfir li-qawmi fa-innahum la ya'lamun โ O Allah, forgive my people, for they do not know. You can adapt this: Allahumma-ghfir li [name] wa-hdih โ O Allah, forgive [name] and guide them. Making dua for someone who wronged you is one of the hardest and most spiritually powerful acts in Islam.
Is it permissible to make dua against someone who wronged me?
It is permissible to make dua against an oppressor if you are genuinely wronged and the dua is proportionate. But the Prophet's consistent example โ even at Taif, even after his family was harmed โ was to make dua for, not against, those who wronged him. Scholars note that making dua for them is higher spiritually and generally more beneficial for your own heart.
How can I forgive someone who hurt me deeply?
Forgiveness in Islam is not a feeling โ it is a decision to stop pursuing what you are owed and to leave it with Allah. The dua helps: when you sincerely ask Allah to guide and forgive the person who hurt you, your own heart begins to soften. It is physiologically and spiritually impossible to genuinely pray for someone's good while actively resenting them. The dua does the work.
Does forgiving someone mean what they did was okay?
No. Forgiveness is not the same as condoning. You can forgive someone and still maintain distance from them. You can pray for their guidance and still enforce boundaries. The Islamic model of forgiveness releases you from the obligation to retaliate or harbor resentment โ it does not require pretending the harm did not happen or exposing yourself to further harm.
What is the reward for forgiving someone who wronged you?
The Prophet said: 'Allah will not increase a person in forgiveness except in honor.' (Muslim 2588) Additionally, if you forgive someone on the Day of Judgment when you could have claimed justice, Allah covers your sins in proportion to what you forgave. Forgiveness in Islam is one of the highest-reward acts available to a human being.
