Nineveh. A great city. And a people who had turned entirely away from Allah.
Sahih International: And indeed, Yūnus was among the messengers.
Allah begins the story of Yūnus AS with a single, simple declaration: he was among the messengers. Not a saint, not merely a pious man — a prophet sent by Allah with a mission, a people, and a message.
That mission was Nineveh — one of the great cities of the ancient world, located in what is now northern Iraq, near the modern city of Mosul. The people of Nineveh had fallen deep into idol-worship and sin. Yūnus AS was sent to call them back to the worship of Allah alone.
He called. He warned. He delivered the message with patience — for years, scholars say, preaching to a people who refused to listen. The city was vast, its people proud, and its corruption entrenched. Every warning was dismissed. Every call was met with indifference or mockery.
Ibn Kathīr records that Yūnus AS preached to his people for a long time and that only two men accepted Islam from among them — a scholar and a worshipper. When the people continued in their rejection, Yūnus AS grew deeply distressed. He warned them that the punishment of Allah would come within three days, and then — without receiving Allah's explicit command to leave — he departed from the city.
"He went in anger" — and this is where the story truly begins.
Sahih International: And [mention] the man of the whale, when he went off in anger and thought that We would not decree [anything] upon him.
The Qurʾān uses a remarkable phrase here: mughāḍiban — he went in anger. Not in disobedience for its own sake, not from weakness of faith, but in a state of profound frustration with a people who had rejected every call. He had given them everything he had. And they had turned away.
The scholars of tafsīr understand "he thought We would not decree upon him" not as a denial of Allah's power, but as a momentary lapse — a prophet's assumption, perhaps, that his departure was justified. That his years of effort had earned him the right to leave. That Allah would not hold him to the duty of remaining.
A prophet is not infallible in his decisions — only in the delivery of revelation. Yūnus AS made a choice. A very human choice: to leave a burden that had become unbearable, without being released from it. Allah does not erase this from the story. He records it — gently, without cruelty — so that we might understand what came next, and why.
Sahih International: So be patient for the decision of your Lord and do not be like the companion of the whale when he called out while he was distressed.
Allah addresses the Prophet Muḥammad ﷺ directly here — do not be like the companion of the whale. This is not a condemnation of Yūnus AS. It is a teaching. A lesson carried forward across centuries: remain, even when remaining is the hardest thing.
He boarded a laden ship. The sea turned against them. And his name was drawn.
Sahih International: When he ran away to the laden ship. And he drew lots and was among the losers.
He reached the coast and found a ship about to depart. He boarded it — and the sea turned violent. The ship was heavy, laden with cargo and passengers, and the waves threatened to drag it under.
In the custom of sailors of that time, when a ship was in danger of sinking, lots would be drawn to determine who must be thrown overboard — to lighten the load and appease whatever force seemed to be pursuing them. Three times the lot was cast, scholars say. Three times it fell to Yūnus AS.
The word used is abaqa — he fled, he ran away. It is the same word used in Arabic for a slave who flees his master without permission. Allah uses it precisely, not to demean His prophet, but to describe with perfect accuracy the nature of the departure: it was unauthorised. Yūnus AS was a man fleeing a commission he had not been released from. And the sea knew it — even if he did not yet.
Sahih International: And the fish swallowed him, while he was blameworthy.
He was cast into the sea. And the whale swallowed him whole.
The word mulīm — blameworthy — is significant. Allah is recording the state of His prophet at that moment: not a criminal, not a disbeliever, but a man who had made a choice that was deserving of accountability. And accountability arrived — not as destruction, but as a vessel.
The darkness of the whale. The darkness of the sea. The darkness of night.
"And he called out within the darknesses…"
Al-Anbiyāʾ · 21:87The Qurʾān uses the plural: al-ẓulumāt — the darknesses. Not one darkness. Three.
The scholars — among them Ibn ʿAbbās, Ibn Kathīr, and the great mufassirūn — identified these three layers: the darkness inside the belly of the whale; the darkness of the depths of the sea; and the darkness of night above the water. Three enclosures, each sealed over the one beneath it.
Think of what that means physically. There is no light. There is no sound except the rushing of water and the strange silence of the deep. There is no orientation — no up, no down, no horizon. There is no door. There is no human being who could help, no hand that could reach in.
And yet — there was Allah.
Ibn Kathīr narrates that Yūnus AS was alive inside the whale. Allah preserved him — the whale's belly became, by divine command, not a tomb but a temporary dwelling. According to narrations, Yūnus AS heard the tasbīḥ — the glorification — of the sea creatures around him, the whale itself included, all in submission to their Lord. He was in a place where no human had ever been. And he understood, in that moment, with total clarity, exactly where things stood.
From inside the three darknesses — no light, no escape, no witness except Allah — Yūnus AS called out. Not with a demand. Not with a negotiation. With a confession.
There is no deity except You; exalted are You. Indeed, I have been of the wrongdoers.
Al-Anbiyāʾ · 21:87Three parts. Each one precise.
Lā ilāha illā Anta — There is no god but You. Pure tawḥīd. The first and last truth. Even in a place of total isolation, the foundation holds.
Subḥānaka — Glory be to You. You are far above any accusation, any limitation, any inadequacy. Whatever brought me here — it was not Your failure. It was never Your failure.
Innī kuntu mina al-ẓālimīn — I have been among the wrongdoers. He does not say "I made a small mistake." He does not minimise. He uses the word ẓālimīn — the wrongdoers — and places himself among them. Full, undefended acknowledgement.
This is not a duʿāʾ that bargains. It is not a duʿāʾ that explains or defends. It is a duʿāʾ that simply — and completely — surrenders. Tawḥīd first. Tanzīh next. Then tawbah. Three things before a single request is made. Indeed, no request is even made. The acknowledgement of Allah's greatness and one's own wrongdoing is itself the prayer. And Allah, who hears what is in the belly of whales and in the depths of oceans, heard it.
Allah answered. And that is the whole story, told in one verse.
Sahih International: So We responded to him and saved him from the distress. And thus do We save the believers.
Fa-istajabna lahu — So We responded to him. The word is immediate, without delay, without condition. He called. Allah answered.
Wa najjaynāhu mina al-ghamm — and We saved him from the ghamm. The word ghamm is rich: it means grief, distress, sorrow — the suffocating weight of anguish. Allah did not merely extract him from the whale. He lifted the weight from his chest.
"And thus do We save the believers."
Al-Anbiyāʾ · 21:88This closing clause is not a footnote. It is the entire reason the story is told. Allah is speaking to every believer who will ever recite this — every person in their own darkness, their own whale, their own sealed enclosure with no visible exit. This is how We save the believers. The same way We saved Yūnus. Through that same duʿāʾ. Through that same surrender.
The Prophet ﷺ said: "The duʿāʾ of Dhū al-Nūn [Yūnus AS], which he said while inside the whale: Lā ilāha illā Anta subḥānaka innī kuntu mina al-ẓālimīn — no Muslim ever calls upon Allah with it in any matter except that Allah responds to him." (Reported by Al-Tirmidhī, graded ḥasan). This is the promise. The duʿāʾ still works. It has never stopped working.
Naked. Exhausted. Sick. And then — shade, and nourishment, and a gentle recovery.
Sahih International: And had he not been of those who exalt Allah, he would have remained inside its belly until the Day they are resurrected. But We threw him onto the open shore while he was ill. And We caused to grow over him a gourd plant.
Falawlā annahu kāna mina al-musabbiḥīn — had he not been of those who glorify Allah. This is the hinge of the story. His tasbīḥ — his habit of glorifying Allah throughout his life — was what saved him. Not just the duʿāʾ made in the whale, but the entire orientation of a life spent in the remembrance of his Lord.
Otherwise, the Qurʾān says quietly, he would have stayed inside that whale until the Day of Resurrection.
Instead, he was cast onto the open shore — bil-ʿarāʾi — bare, open ground. Exposed. Ill. His skin was said by scholars to be tender, softened from the stomach of the whale, unable to bear the light of the sun. He had no shelter, no covering, no food.
Allah caused to grow over him a yaqṭīn — a gourd plant, also identified as a type of pumpkin or large-leafed plant. Ibn Kathīr records that this plant provided broad shade to protect his sensitised skin from the sun, and that the fruit nourished him as he recovered. Some narrations add that a wild animal, perhaps a doe, was sent to provide milk. Whether literal or in essence, the message is the same: Allah did not abandon him at the shore. He arrived broken, and Allah began to rebuild him — gently, piece by piece — through provision hidden in the simplest of things.
Notice what Allah does not give him: a palace, a celebration, an immediate restoration of status. He gives him shade. He gives him something to eat. Recovery before return. Healing before mission. Allah knows the order that the human being — even the prophet — needs. Sometimes the greatest mercy is not the immediate mountain. It is the quiet gourd tree that lets you breathe again first.
One hundred thousand. Or more. And they all believed.
Sahih International: And We sent him to [his people of] a hundred thousand or more. And they believed, so We gave them enjoyment [of life] for a time.
Allah sent Yūnus AS back. Restored, recommissioned, returned to the very people he had once left. And this time — faʾāmanū — they believed. All of them.
One hundred thousand, or more. An entire city turning to Allah.
Sahih International: Then has there been any city that believed and its faith benefited it? Except the people of Yūnus. When they believed, We removed from them the punishment of disgrace in worldly life and gave them enjoyment for a time.
Allah makes a remarkable statement here: of all the cities throughout history that were warned and punished — only the people of Nineveh accepted faith in time, and had their punishment lifted. They are unique in all of prophetic history. The only community that saw the signs of punishment approaching, turned back, and were spared.
According to narrations reported by Ibn Kathīr, when Yūnus AS left and the threatened punishment began to draw near, the people of Nineveh were struck with fear. They went out to the open fields — men, women, children, even their animals — in a state of weeping and repentance, calling out to Allah. Mothers separated from their children so that the cries might rise more desperately to the heavens. The sincerity of their tawbah was total. And Allah, the Most Merciful of those who show mercy, accepted it entirely.
The mission Yūnus AS had carried for years, the people who had refused him again and again, the city he had walked away from in despair — that city believed. Not in spite of what happened to Yūnus AS, but as part of it. Allah's plan encompassed the departure, the sea, the whale, the duʿāʾ, and the return — all of it in service of an outcome that Yūnus AS could not have seen when he was walking away from Nineveh in anger. We never know which moment of our story is the turning point. Only Allah holds that view.
What this story has said to me — and what I am still learning from it.
I keep coming back to the moment in the dark.
Not the miracle of the whale, not the gourd tree, not even the city of a hundred thousand believing — though all of it is extraordinary. I keep coming back to what Yūnus AS chose to do when there was nothing left to do. When there was no human hand to reach for, no door to try, no rope to hold. When the only direction available was inward — and upward.
He did not make a long duʿāʾ. He did not explain himself. He did not rehearse the years of preaching, the people who had rejected him, the exhaustion that had brought him to the ship. He simply — praised. Confessed. And was heard.
That is the architecture of the duʿāʾ of Yūnus AS: first, You are One. Then, You are perfect. Then, I am not. No request made. No conditions attached. Just the truth, laid bare, in three darknesses.
I think this story exists partly to tell us: when you have exhausted every option, and the walls are closing in from every direction, and you cannot see the sky — you are not outside the reach of Allah. You are in exactly the kind of place where He has already promised to respond. Wa ka-dhālika nunjī al-muʾminīn. This is how We save the believers. The promise has not expired. It never will.
I have written this story as carefully as I know how, checking it against the Qurʾān and the words of the scholars — but I am not a scholar myself, and I will have made errors. If you find a mistake, please correct me. All the good in what is written here belongs to Allah. The mistakes are mine. May Allah forgive me for them, and may He accept this as a small act of sharing what He has given us to learn from. Āmīn.
Astaghfirullāh.
The words he said in the belly of the whale — and that we may say in our own darkness.
There is no deity except You; exalted are You. Indeed, I have been of the wrongdoers.
Al-Anbiyāʾ · 21:87 · Al-Tirmidhī · ḤasanThe Prophet ﷺ said: "No Muslim ever supplicates with it [this duʿāʾ] for anything, except that Allah responds to him." (Al-Tirmidhī, graded ḥasan by Al-Albānī). This is not a conditional promise. It is not limited by the size of the problem, the degree of the sin, or the depth of the darkness. The duʿāʾ of Yūnus AS carries a standing promise from Allah — that whoever calls with it, in sincerity, will be answered.
What the story of Yūnus AS carries forward into our lives.
The belly of the whale was not outside the reach of Allah. The three layers of darkness — whale, sea, night — could not block a single word of that duʿāʾ. Wherever you are — whatever enclosed, suffocating, hopeless-feeling place you find yourself in — Allah hears you from inside it. There is no depth too deep for lā ilāha illā Anta.
Yūnus AS did not diminish, minimise, or explain away his choice. He used the word ẓālimīn — wrongdoers — and he placed himself plainly among them. This is what true tawbah looks like: it does not bargain with Allah about the degree of the mistake. It simply sees clearly and says so. And that clarity — offered in humility — is what Allah responds to. The duʿāʾ did not ask for anything. The acknowledgement itself was enough.
Yūnus AS left Nineveh because the people had not believed. He could not have known, walking away in anguish, that they were on the edge of belief — that the greatest mass acceptance of faith in prophetic history was about to happen, and that his return would be part of it. We do not know which of our difficult moments is the setup for something we have not yet imagined. Stay in the duʿāʾ. Let Allah hold the view you cannot yet see.
Primary references used in writing this story.