The story in the Quran Interpretation by Mohammed-Ali Hassan Al-Hilly:
In the interpretation of the ayat in the previous post: Quran 21: 87-88.
"His name in Hebrew was Yonan or Jonah [in English], the son of Amittai; in Arabic, he is called Yonus; he was one of the latest prophets of the Children of Israel.
When God commanded him to go to the people of Nineveh, to warn them against worshiping the idols and to invite them to worship God Most Gracious; but Jonah was afraid to go to them, so he ran away and did not go to Nineveh, but he went to Joppa, where he found a ship going to Tarshish, and he went aboard and sailed with them.
Then, when the ship sailed and was in the middle of the sea, God sent a violent storm, and the ship was about to sink.
Some of those on the ship said: “If there had not been a wrong-doing man among us, God would not have sent on us this storm, so let us cast lots. Therefore, they cast lots and the lot fell on Jonah. So they threw him into the sea. A big whale came and swallowed him, and God inspired it that it should not damage or hurt him.
When he got inside it, he regretted his running away.
Jonah prayed: “My Lord, save me from the inside of the whale and I will go to what You command me to do.”
So God – be glorified – inspired the whale to cast him on the seashore. Then Jonah went to the people of Nineveh near Mosul [in Iraq] and warned them of the punishment if they did not reform their acts and repent from their sins. But they denied and hurt him, so he went out of their city in order that he might not be inflicted by the punishment that was about to afflict them.
And God sent on them a comet to terminate and burn them. But when they saw the comet approaching their sky, saw its light, and felt its heat, they turned to God in repentance, asked forgiveness for their sins, broke up their idols, and supplicated God Who accepted their repentance and averted the punishment from them, and the comet continued moving in its trajectory and fell far away from them.
Afterward, when Jonah knew that the punishment did not come on them at the appointed time, he resented that, and he did not know about their repentance.
He made a canopy in the desert to give him shade against the sun, so God let a tree of pumpkin grow beside his canopy, which climbed his canopy and started to give him shade against the sun and the wind, and he was delighted with its green vegetation and was glad about it. But the next day it withered and dried because of a worm that broke its trunk, so he became sad because of that; so God revealed to him: “You are sad for a small tree which you did not grow neither did you toil in planting it, then how do you want that I should destroy such a great nation counting more than one hundred thousand persons; so arise and return to them, for they have believed and repented and they now are seeking after you to teach and guide them to the statements of their religion.”
Therefore, he arose and went to them, and they rejoiced with him and obeyed him.
His story is written in the Bible, the Book of Jonah. In the Quran, his story is mentioned in chapter (or soora) 37."