Aslam

Surah As-Saffat — 37:144
لَلَبِثَ فِي بَطۡنِهِۦٓ إِلَىٰ يَوۡمِ يُبۡعَثُونَ
he would have certainly remained in its belly until the Day of Resurrection.

Commentary

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

Read Tafsir Ibn Kathir