Surah An-Naziat (النازعات) · verse 25 (Meccan · Juz 30 · page 584)
فَأَخَذَهُ ٱللَّهُ نَكَالَ ٱلْءَاخِرَةِ وَٱلْأُولَىٰٓ ﴿25﴾
التفسير الميسر
فجمع أهل مملكته وناداهم، فقال: أنا ربكم الذي لا ربَّ فوقه، فانتقم الله منه بالعذاب في الدنيا والآخرة، وجعله عبرة ونكالا لأمثاله من المتمردين. إن في فرعون وما نزل به من العذاب لموعظةً لمن يتعظ وينزجر
Sahih International
So Allah seized him in exemplary punishment for the last and the first [transgression]
Marmaduke Pickthall
So Allah seized him (and made him) an example for the after (life) and for the former
Abdullah Yusuf Ali
But Allah did punish him, (and made an) example of him, - in the Hereafter, as in this life