Prophet Jonah (Yunus) also known as Dhan-Nun. About his people Almighty Allah said: Was there any town (community) that believed (after seeing the punishment), and its Faith (at that moment) saved it (from the punishment)? (The answer is none,) - except the people of Jonah; when they believed, We removed from them the torment of disgrace in the life of the (present) world, and permitted them to enjoy for a while. Surah 10: 98
The inhabitants of the town of Nineveh were idolators who lived a shameless life. Prophet Jonah was sent to teach them the worship of Allah. The people disliked his interference in their way of worship, so they argued: "We and our forefathers have worshipped these gods for many years and no harm has come to us."
Jonah Leaves His People
Try as he might to convince them of the foolishness of idolatry and of the goodness of Allah's laws, they ignored him. He warned them that if they kept on with their foolishness, Allah's punishment would soon follow. Instead of fearing Allah, they told Jonah that they were not afraid of his threats. "Let it happen," they told him. Jonah was disheartened. "In that case I will leave you to your misery!" So saying, he left Nineveh, fearing that Allah's anger would soon follow. And (remember) Dhan-Nun (Jonah), when he went off in anger, and imagined that We shall not punish him (i.e., the calamities which had befallen him)! Surah 21:87
The People are Forgiven
Hardly had he left the city when the skies began to change color and looked as if they were on fire. The people were filled with fear by this sight. They recalled the destruction of the people of 'Ad, Thamud and Noah. Was theirs to be a similar fate? Slowly faith penetrated their hearts. They all gathered on the mountain and started to beseech Allah for His mercy and forgiveness. The mountains echoed with their cries. It was a momentous hour, filled with sincere repentance.
Allah removed His wrath and showered His blessings upon them once again. When the threatening storm was lifted, they prayed for the return of Jonah so that he could guide them.