The word of the Lord came to Jonah son of Amittai:
"Get up! Go to the great city of Nineveh and preach against it, because their wickedness has confronted Me."
However, Jonah got up to flee to Tarshish from the Lord's presence. He went down to Joppa and found a ship going to Tarshish. He paid the fare and went down into it to go with them to Tarshish, from the Lord's presence.
Then the Lord hurled a violent wind on the sea, and such a violent storm arose on the sea that the ship threatened to break apart.
The sailors were afraid, and each cried out to his god. They threw the ship's cargo into the sea to lighten the load. Meanwhile, Jonah had gone down to the lowest part of the vessel and had stretched out and fallen into a deep sleep.
The captain approached him and said, "What are you doing sound asleep? Get up! Call to your god. Maybe this god will consider us, and we won't perish."
"Come on!" the sailors said to each other. "Let's cast lots. Then we will know who is to blame for this trouble we're in." So they cast lots, and the lot singled out Jonah.
Then they said to him, "Tell us who is to blame for this trouble we're in. What is your business and where are you from? What is your country and what people are you from?"
He answered them, "I am a Hebrew. I worship Yahweh, the God of the heavens, who made the sea and the dry land."
Then the men were even more afraid and said to him, "What is this you've done?" For the men knew he was fleeing from the Lord's presence, because he had told them.
So they said to him, "What should we do to you to calm this sea that's against us?" For the sea was getting worse and worse.
He answered them, "Pick me up and throw me into the sea so it may quiet down for you, for I know that I'm to blame for this violent storm that is against you."
References for Jonah 1:12
Nevertheless, the men rowed hard to get back to dry land, but they could not because the sea was raging against them more and more.
So they called out to the Lord: "Please, Yahweh, don't let us perish because of this man's life, and don't charge us with innocent blood! For You, Yahweh, have done just as You pleased."
Then they picked up Jonah and threw him into the sea, and the sea stopped its raging.
The men feared the Lord even more, and they offered a sacrifice to the Lord and made vows.
Then the Lord appointed a great fish to swallow Jonah, and Jonah was in the fish three days and three nights.
References for Jonah 1:17