Quran 37:144 — The Arrangers (Al-Saffat)
لَلَبِثَ فى بَطنِهِ إِلىٰ يَومِ يُبعَثونَ
he would have stayed in its belly until the Day of Resurrection.
[37:143] If it were not that he resorted to meditation (on God),
[37:145] We had him thrown up into the desert, exhausted.