The story of Jonah is found in the Bible, specifically in the Book of Jonah. It tells the tale of a prophet who is commanded by God to go to the city of Nineveh and warn its people to repent for their wickedness. Instead of obeying, Jonah tries to escape by boarding a ship, leading to a storm that threatens the vessel.
To save the crew, Jonah admits his disobedience and is thrown overboard, where he is swallowed by a great fish. After three days and nights, he is released and finally goes to Nineveh, where he delivers God's message, and the people repent, sparing the city from destruction.