Surah Al-Anbya, ayah 87 (21:87)
Surah Al-Anbya · Makki · ayah 87 of 112 · in Prophets who called and were answered
Ponder Al-Anbya 21:87 in the app →وَذَا ٱلنُّونِ إِذ ذَّهَبَ مُغَـٰضِبًا فَظَنَّ أَن لَّن نَّقْدِرَ عَلَيْهِ فَنَادَىٰ فِى ٱلظُّلُمَـٰتِ أَن لَّآ إِلَـٰهَ إِلَّآ أَنتَ سُبْحَـٰنَكَ إِنِّى كُنتُ مِنَ ٱلظَّـٰلِمِينَ
“And [mention] the man of the fish [i.e., Jonah], when he went off in anger and thought that We would not decree [anything] upon him. And he called out within the darknesses, "There is no deity except You; exalted are You. Indeed, I have been of the wrongdoers."”
Saheeh International
Also known as: The dua of Yunus · La ilaha illa anta subhanaka
What does The dua of Yunus mean?
Three darknesses, one whisper: there is no god but You, You are above all blame, and I was the one in the wrong.
Reflections
Heard through three darknesses
The ayah has him calling out 'in the darknesses'. The word is plural, and the commentators count them. The darkness of the night. The darkness of the sea. The darkness of the whale's belly. Several early authorities say exactly this. One adds a further report: that the whale that swallowed him was itself swallowed by a larger one. One commentator suggests the plural may simply mean darkness piled upon darkness, thick beyond describing.
Hold that picture. A man inside a living creature, inside deep water, inside night. No light reaches him. No one on earth knows where he is. He cannot shout loud enough to reach the surface. And he speaks.
Picture a cave diver exploring a flooded passage deep underground. Her torch fails. Her backup torch fails. She is in water, in rock, in absolute black, a long way from the entrance. She cannot see her own hand on the guideline. In that moment no rescue team on earth could find her. Everything she has ever achieved, every qualification and record, is suddenly worth nothing at all.
That is where the ego is finally honest about its size. In daylight we believe we are capable, connected, in control. Three layers of darkness strip all of that away.
And the ayah's answer to that darkness is not a rope or a light. It is that a whisper from inside a whale was heard. The next ayah begins: fa-stajabnā lahu, so We answered him. No darkness is thick enough to keep a word from Him.
A sceptic may ask whether Allah needs us reduced to that state before He will listen. He does not. He is free of all need. He hears the whisper in daylight just as well. But we often only find our true voice when everything else has gone dark. That is why the darkness, for Yunus, became the place of his best prayer.
Not a rescue formula: a confession
Most Muslims know these words by heart: lā ilāha illā anta, subḥānaka, innī kuntu mina al-ẓālimīn. Many first met them as "the du'a for when you are in trouble". It is something to recite before an exam, a scan result, a job interview. Some have been told to say it a set number of times, like a code that unlocks relief.
That reading is not wrong. Al-Tirmidhi records the Prophet ﷺ saying that no Muslim calls with Dhul-Nun's prayer for anything at all without Allah answering him. The hadith is graded ṣaḥīḥ (authentic). It is why this du'a is recited so widely.
But notice what the familiar reading tends to skip. The prayer's last clause is not a request. It is an admission: 'I was one of the wrongdoers'. The commentaries are clear about what Yunus meant. One says: in my leaving my people without permission. Another: I wronged myself by fleeing my people without Your leave. One early scholar is quoted in two commentaries with a striking verdict. By Allah, nothing saved him except his admitting his own wrongdoing.
Picture a woman in her twenties the night before her driving test. She has heard that this du'a "works", so she sets herself a target and recites it hundreds of times in her bedroom. She means it sincerely. But the words pass through her as sounds. The last phrase, "I was one of the wrongdoers", never once lands as a sentence about her.
The ayah asks more of us than that, and offers more. The rescue in the next ayah comes after a man stopped blaming his people, his circumstances and his Lord. In the dark he said: the fault was mine.
That is the key most of us leave in the lock. The du'a is answered, the hadith promises. But its power is not in the count. It is in the honesty.
Three sentences, built like a distress call
This du'a is not only famous. It is built. It moves in three steps, and each step does something the others cannot.
'There is no god but You.' The first step affirms who Allah is. Not "a god", not one option among several. The only One.
Subḥānaka: glory be to You, You are far above every flaw. One great commentator explains why this comes second. It means: You are above having done this to me out of injustice, or a desire for revenge, or any inability to rescue me. Whatever You have done, You did by right and by wisdom.
'I was one of the wrongdoers.' The third step places the fault where it belongs, with himself.
One classical writer names what these three carry. The oneness of Allah. His being clear of every fault. The servant's admission of his servanthood. And his confession. He calls it among the most effective of all remedies for distress, worry and grief. He also links it to the prayer the Prophet ﷺ called the master of seeking forgiveness, recorded in Sahih al-Bukhari. That prayer has the same shape: You are my Lord, I acknowledge Your favour, I acknowledge my sin.
Picture a pilot whose engine has failed over the sea. The emergency call has a fixed order, drilled into her for years. Who she is calling. Where she is. What has gone wrong. No pleading, no rambling, no blame. Clarity is what gets a rescue started.
The du'a of Yunus is the soul's distress call, and its order matters. First, who You are. Then, what You are not: not unjust, not absent, not unable. Then, what is wrong: me. And there is no request at the end at all. One commentator says that once the servant has described his Lord's perfection and his own weakness, that is enough of a request. The rescuer already knows what is needed.
"He thought We would not constrain him"
One phrase in this ayah has unsettled readers from the very first generation. Read quickly, it sounds like: 'he thought We would have no power over him'. Could a prophet really think that?
One commentary preserves the story of a man who lost sleep over it. A ruler of the early Muslims summoned the great Companion Ibn ʿAbbas. "The waves of the Quran struck me last night," he said. "I drowned in them, and found no rescue except you". He recited this ayah and asked: would a prophet of Allah think that Allah had no power over him? Ibn ʿAbbas answered: this is from qadar, measuring, not from qudra, power.
The root bears him out. The lexicons give q-d-r as measure: a thing's exact amount and limit. The same root gives qudra, power. But it also gives the verb for measuring someone's provision out narrowly. These are established usages. So the commentators explain the phrase: he thought We would not constrain him, would not narrow things for him, by confining him in the whale. Or: he thought We would not decree that confinement for him. One commentator dismisses the "power" reading outright as unbelief, impossible for a prophet. Another points out that the very next words, subḥānaka, declare Allah far above any inability.
The Companion's name matters here because the lesson is his answer. Faced with a hard phrase, he did not explain it away. He went to the language.
Picture a student of Arabic who reaches this phrase at two in the morning and feels her stomach drop. She messages her teacher. Does this really say Yunus doubted God's power? Her teacher replies at seven with one line: "Look up qadara ʿalayhi rizqahu (He restricts his provision)." By breakfast she understands.
What remains is honest: Yunus did misjudge something. He thought he could leave without consequence. That is the wrong he confessed.
The darkness outside and the darkness within
Listen to the ayah's first and last words in the du'a's setting. It begins fī al-ẓulumāt, in the darknesses. It ends mina al-ẓālimīn, of the wrongdoers. The same three letters, ẓ-l-m, frame the scene.
One lexicon finds two distinct origins in these letters. The first is darkness, the opposite of light. The second is putting a thing in a place that is not its own. A herdsman ẓalama his milk-skin when he poured from it before it had churned and given up its butter. Ground was maẓlūma when someone dug where no one should dig. An Arab proverb says that whoever sets the wolf to guard the flock has done ẓulm. These usages are established. The lexicon keeps the two meanings apart; to read them together, as this reflection does, is a pondering, not a derivation.
But the pondering is worth making. Yunus was surrounded by darkness. And he named his wrong as ẓulm: putting himself where he should not have been. He had left the place Allah had put him, among his people, before he was given leave. The darkness around him and the misplacement within him share a name.
Picture a man in his forties who has slowly given the first hour of every morning to his phone. News, messages, the scroll. His wife and children get what is left, a distracted "mm" over breakfast. Nothing dramatic has happened. But things are in the wrong places. The best of him is going where it does not belong.
Most of our darkness is like that. Not a single crime, but a gradual misplacing: of attention, of love, of time, of ourselves. The du'a of Yunus does not only ask to be rescued from the outer dark. It names the inner one. I was of those who put things in the wrong place. That is where light begins: when each thing is returned to where it belongs.
The leader who walked out too soon
'When he went off in anger.' The commentators say Yunus was sent to the people of Nineveh, called them, and was refused. He warned them of punishment and left, angry at their stubbornness. One commentator says he had grown weary of reminding them, and thought leaving was justified because his anger was for Allah's sake. But he should have waited, the same commentator says, for Allah's permission.
And here is the irony the Quran records elsewhere. After he left, his people saw the signs of the punishment, went out together and repented, and it was lifted from them (10:98). One commentary describes them going out into the open with their children and animals and weeping to Allah. The breakthrough Yunus had worked for came the moment he had stopped waiting for it.
Picture a teacher in her second year at a struggling secondary school. Her Year 10 class has defeated her: rude, absent, uninterested. At February half-term she resigns, exhausted and angry. In September she hears from a former colleague that the same class had something click in the spring. They achieved the best results the school had seen in a decade. She is glad for them. She is also sick at heart.
That is the leadership lesson of mughāḍiban (angry). Frustration with the people you lead can feel righteous. Yunus's anger was, by most accounts, anger for Allah. But righteous anger is still anger, and it can carry you out of the door one season too early.
The Quran tells the Prophet ﷺ himself not to be like the companion of the fish (68:48). And the Prophet ﷺ said, in Sahih al-Bukhari, that no one should claim to be better than Yunus ibn Matta. The lesson is not to look down on Yunus. It is to see ourselves in him. Before you walk out on the people you were given, ask whether Allah has given you leave.
Words to carry into your own dark
Why has this one du'a, out of so many in the Quran, become the one people reach for first? The answer is the hadith already mentioned. Al-Tirmidhi records the Prophet ﷺ describing it as Dhul-Nun's call from the belly of the whale. He said no Muslim ever calls with it for anything without Allah answering him. One commentator adds that the next ayah's promise extends this to anyone. "Thus do We save the believers": whoever calls on Allah in hardship, returning to Him, above all with these words.
Allah needs none of it. He did not need Yunus's confession to know what Yunus had done. He does not need ours. People are the needy ones and He is free of need (35:15). The du'a is for the one who says it.
What does it give? Read the three parts again, slowly, as a person in trouble. There is no god but You: so the thing frightening me is not a god; it has no final power. Glory be to You: so You have not done this to me unjustly, or forgotten me, or run out of ways to help. I was one of the wrongdoers: so I can stop pretending. That last relief is often the greatest.
Picture a security guard on a night shift in a huge, empty warehouse when the power cuts out. Total darkness, the hum of the freezers gone silent, the emergency lights failing to come on. He has been carrying something for weeks, a lie he told his brother, a debt he has hidden. Standing in the black with one hand on a shelf, he says the words of Yunus, quietly, three times. When the lights flicker back on twenty minutes later, he has already decided to ring his brother in the morning.
Many people now live with a darkness nobody else can see. This du'a was made for exactly that place. Carry it with you. You may need it in a whale.
A common misreading
Often heard: The du'a of Yunus is a rescue formula: recite it enough times and trouble lifts.
Closer to the ayah: It is a confession. Its last clause owns the fault, and one early scholar said nothing saved Yunus except admitting his wrong. The promise is real; its power lies in honesty, not the count.
Often heard: "He thought We would have no power over him" means Yunus doubted Allah's power.
Closer to the ayah: The verb is from qadar, measuring and constraining, not qudra, power: he thought he would not be confined for leaving.
Often heard: Yunus is the prophet who failed.
Closer to the ayah: The Prophet ﷺ forbade anyone to claim to be better than him. His story is a mirror for every believer who has walked out too soon, and a map back.
Words to know
مُغَـٰضِبًا mughāḍiban · the root gh-ḍ-b
The form suggests anger that runs between two sides. Commentators differ on its object: angry with his people, angry for his Lord's sake at their disbelief, or, one view says, simply indignant. The root pictures hardness: a shield of camel hide folded layer on layer.
Questions to sit with
- When you say this du'a, which part do you mean most, and which part do you rush past?
- Where have you put something in the wrong place: your attention, your love, your time, yourself?
- Who are the people you were given that you are tempted to walk out on, and has Allah given you leave?
Live it today
Tonight, before sleep, say the du'a of Yunus three times slowly. On the third, think of one specific wrong of your own and mean "I was one of the wrongdoers" about it.
Echoes in the Quran
- Surah Al-Qalam 68:48Al-Qalam tells the Prophet ﷺ not to be like the companion of the fish. Here we see how that companion found his way back.
- Surah Yunus 10:98Surah Yunus records the irony: after he left, his people turned together in time, and the punishment was lifted from them.
- Surah As-Saffat 37:139Before the fish, As-Saffat gives Yunus the same title as every messenger. His slip never cancelled his rank.
Come back to this ayah when you feel...
when you cannot sleep · when you have wronged someone · when you are tempted to give up on someone · when help seems far away · when you feel far from Allah · before making dua
This ayah and other verses on the same subject
The classical tafsir of this ayah
Tafsir al-Jalalayn · Tafsir Ibn Kathir (abridged) · Tafsir al-Tabari (abridged) · Tafsir al-Qurtubi (abridged) · Tafsir al-Sa'di · Tafsir al-Razi (abridged)
Read the whole surah
The night the grazing stops: a reflection on all of Surah Al-Anbya, from its first ayah to its last.
Ponder Al-Anbya 21:87 in the app →In the app: the Mushaf, every word with its root, side-by-side tafsir, and your own private reflections. Free, no account, works offline.