Surah As-Saaffaat

37:144

لَلَبِثَ فِى بَطْنِهِۦٓ إِلَىٰ يَوْمِ يُبْعَثُونَ

He would have remained inside its belly until the Day they are resurrected.

Tafsir 37:144

he would have remained in the stomach of the whale until the Day of Judgement, with it having become his grave.