It was many years ago when a prophet named Yunus (Jonah) felt those exact feelings, and his story may be the perfect thing to inspire you today.
Envision being engulfed by a gigantic whale and ending up alive in its stomach. It cannot possibly happen, and yet it did occur to Prophet Yunus, giving us one of the most iconic and symbolic tales in religious history.
But why was Yunus in the belly of a whale to begin with? How long was he there? And what can be learned from his incredible odyssey about coping with our problems?
If you’re struggling to make difficult decisions, buried by the stresses of life, or simply fascinated with this fascinating prophet, Yunus’s story brings timeless wisdom about patience, forgiveness, and the incredible power of sincere prayer, even in our worst times.
Follow us into this intriguing story that has guided and encouraged men and women across cultures and centuries.
Because there are times when, as Yunus did, we need to pass through darkness before entering the light.
Prophet Yunus and the whale
The tale of the Prophet Yunus (Jonah) and the whale is one of the most fascinating accounts given in Islamic, Christian, and Jewish traditions. I’ll give the complete account of this tale based on Islamic sources, emphasizing some differences among traditions.
The Mission to Nineveh
Prophet Yunus (peace be upon him) was sent by Allah to the city of Nineveh in Iraq today to guide its people towards monotheism and righteousness.
Nineveh was a prosperous but morally corrupt city whose people had fallen into idol worship and evil practices.
Yunus preached Allah’s message for a while, years it appears from certain accounts, yet experienced persistent denial.
Two men, it is reported, welcomed his message initially. Incensed by the stubbornness of the people, Yunus eventually left the city enraged and warned the people that they would experience the displeasure of the Almighty in three days’ time.
The Departure
It was in the Islamic custom that Yunus left Nineveh without Allah specifically permitting him to abandon his mission. His leaving was an act of impatience with his divine commission.
The Quran refers to it in the following manner when it names him “Dhun-Nun” (the one of the fish) and states: “And remember Dhun-Nun, when he departed in wrath: he imagined that We had no power over him!” (Quran 21:87)
The Ship and the Storm
Yunus sailed by boat with other passengers. While they were at sea, a ferocious storm threatened to sink the boat.
The passengers, as was common practice, decided to lighten the load of the boat by drawing lots to determine which of them would be thrown off the boat into the sea. Yunus drew three lots in a row, and this was regarded as an act of God.
Swallowed by the Whale
Thankful for this as the will of Allah, Yunus gladly jumped into the foaming sea. Allah commanded a large fish (better known as a whale in most accounts) to swallow him headfirst. In a miraculous twist, Yunus remained alive inside the belly of the beast.
The Prayer in Darkness
Far in the darkness, the night, the sea, and the whale’s belly, Yunus prayed to Allah in sincere repentance. His famous prayer, recorded in the Quran, was:
“La ilaha illa anta, subhanaka, inni kuntu min al-zalimin”
(“There is no deity except You; exalted are You. Indeed, I have been one of the wrongdoers.”)
(Quran 21:87)
The Quran states: “And had he not been of those who exalt Allah, he would have remained inside its belly until the Day of Resurrection.” (Quran 37:143-144)
Deliverance and Return
At a time usually mentioned as forty days (though given differently in some accounts), Allah commanded the whale to vomit Yunus onto a shore.
He was debilitated, his skin softened by the stomach juices of the whale. Allah made a vine of gourd (or pumpkin) cover him, providing shade and nourishment as he recovered.
The Repentance of Nineveh
Meanwhile, in Nineveh, the people had witnessed signs of impending punishment; the sky reportedly became copper-red.
In fear, and at the instigation of a wise old man, they all repented, cloaking themselves in sackcloth and ashes, placing mothers from their children and beasts from their foals, and crying out to Allah for mercy. Allah deemed them worthy of forgiveness and removed the punishment.
Yunus’s Return and Later Ministry
When he recovered, Yunus returned to Nineveh and found that the entire city, which was historically counted as more than 100,000, had embraced belief.
The Quran describes it as a unique case: “Then why was there not a [single] city that believed so its faith benefited it except the people of Jonah? When they believed, we removed the punishment of disgrace in worldly life and gave them enjoyment for a time.” (Quran 10:98)
Spiritual Lessons
The life of Yunus embodies deep spiritual lessons:
- The value of patience in inviting people to Islam
- Allah’s mercy for those who truly repent
- The strength of admitting one’s error
- The efficacy of collective repentance
- The miracle of protection by the divine even in the most despondent situation
This account encourages believers to remain steadfast during challenges and have faith in divine wisdom even when confronted with seemingly insurmountable situations.
How Long Did Prophet Yunus Stay Inside the Whale?
The Quran does not explicitly state how long Prophet Yunus (Jonah) stayed inside the whale’s stomach. This has led to various interpretations and traditions among Islamic scholarship as well as other religious denominations.
Islamic Traditions
There are various other accounts regarding the length of time in Islamic sources:
- Forty days: Most commonly reported in most Islamic traditions and tafsir (Quran exegesis). Reports of this duration are made by several classical scholars, e.g., Ibn Kathir.
- Three nights and three days: Reported by a few scholars as the duration, mirroring the Biblical account in the New Testament.
- Seven days: Another report in some Islamic traditions.
- Some hours of a day: Minority view according to some scholars.
- Twenty days: Another duration mentioned in some of the historical accounts.
The renowned Islamic scholar Ibn Abbas is said to have quoted that Yunus remained in the belly of the whale for forty days, and therefore, many Muslims consider this to be the most likely duration.
Quranic Reference
The Quran does not mention the duration but mentions Yunus’s condition:
“If he was not one of those who exalt Allah, then he would have remained inside its belly till the Day of Resurrection.” (Quran 37:143-144)
This is just to point out that Yunus’s glorifying Allah and turning back in repentance were why he was set free, not the duration time.
Biblical Perspective
To put things into context of comparison, in the Biblical tradition (Matthew 12:40, for instance), Jesus uttered: “For as Jonah was three days and three nights in the belly of a huge fish, so the Son of Man will be three days and three nights in the heart of the earth.”
Scholarly Considerations
Islamic scholars interpret that the real time is not as important as the moral values of the story. They emphasize that:
- The miracle of staying alive inside a whale for any amount of time confirms Allah’s strength
- The duration was sufficient for serious contemplation and sincere repentance
- The ordeal was both a test and a protection for Prophet Yunus
Why Did Yunus Get Swallowed?
Prophet Yunus’s swallowing by the whale was the consequence of a chain of associated events and religious lessons. Below is the in-depth elucidation of how and why such an occurrence ensued:
Abandonment of His Mission
The primary reason that Yunus was swallowed was the premature withdrawal by him from his mission as a prophet in Nineveh.
Allah had entrusted Yunus with announcing to the nation of Nineveh, but, having suffered persistent rejection, Yunus returned from Nineveh in a huff. This is discussed in the Quran in Surah Al-Anbiya:
“Remember Dhun-Nun (Yunus), when he departed in wrath: he thought that We had no power over him!” (Quran 21:87)
This verse indicates that Yunus deserted his mission without consulting Allah, perhaps assuming that Allah would not hold him accountable for this act.
Divine Test and Discipline
The swallowing was divine reproof, not punishment in the retaliatory sense, but a profound lesson and test. Allah wished Yunus to learn patience and perseverance in spreading the divine message, regardless of what response he had.
The Ship and the Lots
Yunus boarded a ship that was heavily loaded when he departed Nineveh. In a violent storm that struck the ship, making it nearly sink, passengers cast lots to determine who was to be thrown into the sea to lighten the ship.
The Quran says:
“Then he (Yunus) cast lots and was among the losers.” (Quran 37:141)
The draw fell on Yunus thrice consecutively, which was interpreted as will of God. This chain of events was all premeditated to place Yunus in the sea.
Divine Plan for Spiritual Growth
Allah had something bigger in mind in this trial. The experience was designed to bring Yunus to complete submission and acceptance of his mistake.
At the bottom, in the whale’s belly, Yunus prayed to Allah with one of the strongest prayers ever recorded in the Quran:
“There is no deity except You; exalted are You. Indeed, I have been of the wrongdoers.” (Quran 21:87)
Protection Rather Than Punishment
Interestingly, even though it appears that swallowing by a whale is a punishment, Islamic scholars highlight that it was a protection from Allah. Instead of Yunus being drowned in the ocean, Allah preserved his life through this miraculous process. The Quran states:
“Then we cast him onto the open shore while he was ill.” (Quran 37:145)
This indicates that the whale was commanded to deposit Yunus safely on land.
Symbolic Dimensions
The story has profound symbolic significance:
- Darkness of Transformation: The three darknesses (night, sea, and within the whale’s belly) represent spiritual darkness before enlightenment.
- Symbolism of Rebirth: Emerging from the whale represents spiritual rebirth and renewal.
- Surrender and Trust: The experience taught complete surrender to Allah’s will (taslim) and trust in Allah’s wisdom (tawakkul).
Lessons for Mankind
Allah taught several lessons through Yunus’s experience to all mankind:
- Prophets, though as great as they ar,e will still answer to their actions
- One requires patience in calling people unto faith
- There is no situation beyond the ability or mercy of Allah
- Real repentance will correct even the worst of circumstances
- Sometimes what appears as hardship is indeed protection and a blessing
Conclusion
Yunus was swallowed by the whale as a punishment for quitting his mission prematurely, yet the episode was for multiple divine reasons: it was both a test, a lesson, a protection, and ultimately a means to his spiritual rise.
The event transformed Yunus and prepared him to resume his mission with greater determination and awareness of divine wisdom.
This incredible incident is one of the most compelling instances in religious history of how God’s discipline operates not as punishment but as a path to spiritual growth and enlightenment.

