Surah An-Naazi'aat

79:25

فَأَخَذَهُ ٱللَّهُ نَكَالَ ٱلْءَاخِرَةِ وَٱلْأُولَىٰٓ

So Allah seized him in exemplary punishment for the last and the first [transgression].

Tafsir 79:25

So Allah seized him and punished him in the world by drowning him in the sea, and He will punish him in the afterlife by entering him into the severest punishment.