The story of Prophet Yunus (Jonah) (peace be upon him)
يُونُس عَلَيْهِ السَّلَام
1. Leaving in anger
Yunus was sent to a large city. When they did not believe, he left in anger, thinking Allah would not restrict him (21:87). He boarded a laden ship; lots were cast and he was among those thrown overboard, and a great fish swallowed him (37:139–142).
2. The dua in the darkness
In layers of darkness he called out: “There is no god but You. Glory be to You. Indeed, I was among the wrongdoers” (21:87). Allah answered him and saved him from distress, and said: “This is how We save the believers” (21:88). Had he not been among those who glorify Allah, he would have stayed in its belly until the Day of Resurrection (37:143–144).
3. Back to his people
He was cast out onto open land, weak, and Allah made a gourd plant grow over him (37:145–146). He was sent back to a hundred thousand or more, and they believed, so Allah let them enjoy life for a time (37:147–148). They are the only town the Quran mentions whose belief, after the punishment drew near, benefited them (10:98).
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."
Then has there not been a [single] city that believed so its faith benefited it except the people of Jonah? When they believed, We removed from them the punishment of disgrace in worldly life and gave them enjoyment [i.e., provision] for a time.