- Published on
Dua for Dark Times: The Supplications That Carried the Prophets Through
- Authors

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

There are moments that do not yield to positive thinking. When the weight is too real, the loss too immediate, the exhaustion too deep. When the usual reminders — "have patience," "make dua," "trust Allah" — feel thin compared to the thickness of what you are carrying.
These moments visited every single prophet of Allah. Not as punishment, but as part of the journey. And from those moments, we have the most powerful duas in our tradition — not written in comfort, but forged in the real fire of human desperation turning to divine mercy.
The Dua for Dark Times — Dua al-Karb
لَا إِلَٰهَ إِلَّا اللَّهُ الْعَظِيمُ الْحَلِيمُ، لَا إِلَٰهَ إِلَّا اللَّهُ رَبُّ الْعَرْشِ الْعَظِيمِ، لَا إِلَٰهَ إِلَّا اللَّهُ رَبُّ السَّمَاوَاتِ وَرَبُّ الْأَرْضِ وَرَبُّ الْعَرْشِ الْكَرِيمِ
La ilaha illallahul-'Azimul-Halim, La ilaha illallahu Rabbul-'Arshil-'Azim, La ilaha illallahu Rabbus-samawati wa Rabbul-ardi wa Rabbul-'Arshil-Karim
"There is no god but Allah, the Magnificent, the Forbearing. There is no god but Allah, Lord of the Magnificent Throne. There is no god but Allah, Lord of the heavens, Lord of the earth, and Lord of the Noble Throne."
— (Bukhari 7426, Muslim 2730)
When to say it: In times of genuine distress, difficulty, or despair. When the situation feels overwhelming and beyond your ability to resolve. The Prophet ﷺ taught this specifically as the dua for karb — severe distress. Ibn Abbas reported that the Prophet ﷺ would say this in times of anxiety.
This dua is not a request. It is an assertion — three declarations of who Allah is in the face of whatever is happening. "There is no god but Allah" is the most fundamental statement of truth in Islam. Combined with Allah's names — the Magnificent, the Forbearing, the Lord of the Throne — it is a re-anchoring of reality when circumstance is trying to convince you that you are alone in the darkness.
The Story Behind This Supplication
The context of the Dua al-Karb in the prophetic tradition is a teaching about response to extreme difficulty. Abdullah ibn Abbas reported that the Messenger of Allah ﷺ used to say these words at times of great difficulty — implying not just occasional crises but that this formula was part of his trained response to hardship.
But the wider story lives in the lives of the prophets who were the living proof that dark times end.
Prophet Yunus ﷺ was in a darkness that has no easy comparison: inside a whale, in the depths of the sea, at night. Three layers of darkness. His dua — "There is no god but You. Glory be to You. Indeed, I have been of the wrongdoers." (Al-Anbiya, 21:87) — was answered. "We responded to him and saved him from distress."
Prophet Yusuf ﷺ spent years in prison after being enslaved and falsely accused. His dua was one of continued trust: "My Lord, prison is more beloved to me than what they invite me to." (Yusuf, 12:33) — and then the years passed and the dream was fulfilled.
Prophet Ayyub ﷺ was afflicted with illness for years, stripped of health, wealth, and much else. His dua was brief: "Indeed, adversity has touched me, and You are the Most Merciful of the merciful." (Al-Anbiya, 21:83) Allah answered: "So We responded to him and removed what afflicted him of adversity."
The pattern is consistent: in their darkest moments, the prophets turned fully to Allah. Not with perfect words. Not with certainty about how things would resolve. With the raw truth of their situation and the complete address of their hearts to the One who could change it.
How to Use These Duas When It Is Dark
Dark times require a different kind of spiritual practice than ordinary times:
Say the dua without waiting to feel better first. The dua is not a reward for good emotional state — it is the tool for when the emotional state is bad. Say it when you are shaking. Say it when the tears come. Say it when you are numb. The words carry their power regardless of your ability to feel them in the moment.
Reduce your spiritual ambitions temporarily. In dark times, the nafs often adds pressure: "I should be praying more, reading more Quran, being stronger." This pressure can paralyze. Instead: focus on the minimum obligations and these specific crisis duas. Keep the daily prayers, even if they are short. Say these words, even if the heart is not fully present. The consistency of small acts maintains the connection until the capacity to do more returns.
Do not isolate. The Prophet ﷺ had Khadijah when the first revelation came and frightened him. He had Abu Bakr. He had community. Spiritual darkness is not meant to be carried alone. Even one person who knows what you are going through and makes dua with you changes the weight of it.
Hold the long view. Every single prophetic dark time ended. Yunus came out of the whale. Yusuf came out of the prison. Ayyub's illness was healed. The Quran tells these stories not as ancient history but as "stories from which believers take lessons" (Yusuf, 12:111). Your darkness has the same Allah at its address.
Stay Connected to Allah Through Every Season
DeenBack helps you maintain consistent daily duas and dhikr even in your hardest seasons — because the connection you build in ordinary days is what carries you through extraordinary difficulty.
Free download. Premium features available in-app.
Related Duas Carried Through Dark Times
Dua of Prophet Yunus — from the deepest darkness:
لَا إِلَٰهَ إِلَّا أَنتَ سُبْحَانَكَ إِنِّي كُنتُ مِنَ الظَّالِمِينَ
La ilaha illa anta subhanaka inni kuntu minaz-zalimin
"There is no god but You. Glory be to You. Indeed, I have been of the wrongdoers." — (Quran, Al-Anbiya, 21:87)
Dua of Prophet Ayyub — from years of affliction:
أَنِّي مَسَّنِيَ الضُّرُّ وَأَنتَ أَرْحَمُ الرَّاحِمِينَ
Anni massaniyad-durru wa anta arhamur-rahimin
"Indeed, adversity has touched me, and You are the Most Merciful of the merciful." — (Quran, Al-Anbiya, 21:83)
For the broader context of supplication in hardship, see dua for hardship and dua for ease. When dark times are accompanied by grief, dua for relief from grief provides the specific prophetic dua for that experience. For depression specifically, see also dua for depression.
Common Questions
How long should I keep making dua when the dark time is prolonged? The Prophet ﷺ warned against "hastening" — becoming impatient and saying "I prayed but I was not answered." (Muslim 2735) Prophet Ayyub ﷺ maintained his trust through years of affliction. There is no expiry date on dua. Keep asking. Store some of the asking as patience, knowing that it accumulates as reward when the answer is delayed.
Is it okay to express anger or frustration to Allah in dua? Yes. The prophets were not uniformly calm in their supplications. Musa ﷺ expressed urgency. Yunus ﷺ acknowledged his error with full vulnerability. Ayyub ﷺ stated his suffering directly. Allah does not require composure — He requires sincerity and turning. Pour the actual contents of your heart out in dua. That honesty is more valuable than performance.
What if the dark time is a result of my own choices? This is one of the most isolating aspects of difficulty: when it is partially self-caused. The dua of Yunus — "I have been of the wrongdoers" — addresses exactly this. He did not pretend he had done nothing wrong. He acknowledged it and still turned to Allah. And Allah still answered. Your part in your difficulty does not disqualify you from making dua. It makes making dua even more important.
Even the Deepest Darkness Has a Dawn
The Quran is full of stories of darkness that ended. Not always quickly. Not always the way that was hoped for. But they ended — in the mercy, timing, and wisdom of Allah.
Yunus came out of the whale. Yusuf came out of the prison. Ayyub was healed. Ibrahim was cooled by fire. These are not just ancient stories. They are promises embedded in narrative — promises that Allah sees, Allah hears, and Allah answers.
Say the words tonight. Say them tomorrow. Say them until the dawn comes — and it will come.
Let Your Dua Practice Be the Light in the Dark
DeenBack helps you keep your daily dua and dhikr practice consistent through every season — so that when dark times come, you have a living connection with Allah already in place.
Free download. Premium features available in-app.
Frequently Asked Questions
What is the most powerful dua for dark times and extreme distress?
The Prophet ﷺ taught the 'Dua al-Karb' (dua of distress): 'La ilaha illallahul-'Azimul-Halim, La ilaha illallahu Rabbul-'Arshil-'Azim, La ilaha illallahu Rabbus-samawati wa Rabbul-ardi wa Rabbul-'Arshil-Karim.' (Bukhari 7426) He described it as what should be said in times of severe difficulty and distress.
Did the prophets really go through dark times?
Yes, extensively. Prophet Yunus ﷺ was alone in the belly of a whale in complete darkness. Prophet Ibrahim ﷺ was thrown into fire. Prophet Yusuf ﷺ was abandoned by his brothers, enslaved, and imprisoned. Prophet Ayyub ﷺ was afflicted with illness for years. Prophet Muhammad ﷺ lost his wife, his protector, experienced the rejection of his people, and faced the death of his sons. The prophets were not spared difficulty — they were given the tools to survive it.
Should I only say these duas when things are extremely bad?
No. The Prophet ﷺ recommended saying the dua of distress regularly, not just in extreme moments, so that the words are already part of you when the dark time comes. The dua also functions as a daily reminder that Allah is Al-'Azim (Magnificent), Al-Halim (Forbearing), Rabbul-'Arsh (Lord of the Throne) — names that are worth reflecting on any day.
How do I make dua when I am too exhausted or grief-stricken to form words?
The Prophet ﷺ said that Allah knows what is in your heart before you express it. When you cannot form complete sentences, saying simply 'Ya Allah' — the most direct call to the One who hears — is a complete dua. Allah's mercy does not require your articulacy. Even a groan, even a sigh directed toward Allah, is received.
