Sura As-Saaffaat

37:141

فَسَاهَمَ فَكَانَ مِنَ ٱلْمُدْحَضِينَ

Och så kastade de lott och han förlorade;

Tafsir 37:141

The ship was close to sinking because of its load, so the passengers drew lots to throw some of them overboard, fearing its sinking because of too many passengers. Jonah was one of the names that were drawn, and so they threw him in to the sea.