Prophet Yunus (Jonah): The Prayer from the Belly of the Whale
Prophet Yunus (Jonah), also called Dhun-Nun — "the companion of the fish" — was sent to the people of Nineveh, a community the Quran numbers at "a hundred thousand or more" (Quran 37:147). His story is not gathered in one chapter but told across several: Surah Al-Anbiya, Surah As-Saffat, and Surah Al-Qalam, with his people remembered in Surah Yunus, the tenth chapter, which bears his name.
Yunus called his people to Allah, and when they persisted in rejection he left them in frustration before Allah had given him leave to depart — "And [mention] the man of the fish, when he went off in anger and thought that We would not decree [anything] upon him" (Quran 21:87). He boarded a ship, which grew overloaded and storm-tossed; lots were cast to lighten it, and the lot fell upon Yunus (37:140–141). He was cast into the sea.
There, "the fish swallowed him, while he was blameworthy" (37:142). In the crushing dark — the darkness of the deep sea, the darkness of night, and the darkness of the creature's belly — Yunus turned to his Lord with words that have become, for Muslims everywhere, the prayer of distress and return: "La ilaha illa anta, subhanaka, inni kuntu mina z-zalimin" — "There is no deity except You; exalted are You. Indeed, I have been of the wrongdoers" (Quran 21:87). It is a prayer that contains no request at all — only the declaration of Allah's oneness, the affirmation of His perfection, and the honest admission of one's own fault.
That short supplication did not stay sealed in the belly of the fish. The Prophet Muhammad ﷺ taught that it is a prayer of power for everyone who carries a burden, saying that no Muslim ever supplicates with the words of Yunus for anything except that Allah answers him (narrated by al-Tirmidhi). Across the centuries it has become the believer's first reach in moments of grief and constriction — a few words that hold within them the entire posture of faith: God alone, God perfect, and the self at fault and returning.
And Allah answered: "So We responded to him and saved him from the distress. And thus do We save the believers" (21:88). The Quran then reflects on what truly lifted him from the depths: "And had he not been of those who exalt Allah, he would have remained inside its belly until the Day they are resurrected" (37:143–144). It was his prior life of worship, and his immediate turning back in repentance, that brought the rescue. He was cast onto an open shore, weakened, and Allah caused a gourd plant to grow over him for shade and nourishment (37:145–146).
The Quran is careful to show that even a prophet was held to account for leaving his post before his Lord had given him leave. Yunus was righteous and his people were obstinate, yet his departure in frustration is what the Quran describes as having made him "blameworthy" (37:142). This is no stain upon his prophethood but a mercy in the telling: it teaches that the measure of patience asked of those nearest to Allah is the highest of all, and that the road back from any lapse — however great the one who lapses — is the same humble turning that Yunus made in the dark.
There is one more remarkable detail. The Quran singles out the people of Yunus as the rare community whose faith, arriving at the very edge of destruction, was still accepted: "Then has there not been a [single] city that believed so its faith benefited it except the people of Yunus? When they believed, We removed from them the punishment" (Quran 10:98). Where other nations were destroyed for rejecting their prophets, Nineveh repented and was spared. The Prophet Muhammad ﷺ also taught humility regarding Yunus, instructing that no one should claim to be better than him (Sahih al-Bukhari, Book of the Prophets) — a safeguard against judging a prophet by a single moment of human weakness rather than by his true standing with Allah.
The sparing of Nineveh rests upon a larger Quranic truth: that Allah's mercy outpaces His wrath, and that the door of return stays open until the final moment a person can still choose to walk through it. An entire city, already standing beneath the shadow of a promised punishment, reached for that door and found it unlocked. If sincere repentance could turn back a decree poised over a hundred thousand souls, then no single person standing amid their own ruin is ever beyond the reach of return.
The story of Yunus carries a mercy for every reader. It teaches that no darkness is beyond Allah's reach — if a prayer can be heard and answered from the belly of a fish beneath the waves, then no situation a person can fall into is ever truly hopeless. It teaches that repentance can reverse ruin, for the people of Yunus are the Quran's living proof that a sincere return to Allah can lift even a decreed punishment. And it teaches the shape of true supplication: the dua of Yunus begins not with a demand but with the acknowledgement of Allah's oneness and the honest confession of one's own wrong. Whoever finds themselves in their own three layers of darkness has, in those few words, the exact prayer the Quran preserved for them.