Yunus was a prophet sent to the town of Nainawa who preached monotheism, but the people rejected his message. When a storm hit his ship, Yunus was thrown overboard and swallowed by a whale. After repenting in the whale's stomach, Yunus was expelled on shore. Meanwhile, a follower gathered the people of Nainawa and convinced them to repent when signs of Allah's punishment appeared. When Yunus returned, he found the people had given up idol worship and accepted his message.