فَأَخَذَهُ اللَّهُ نَكَالَ الْآخِرَةِ وَالْأُولَى
[79:25]
So Allah seized him with the punishment of the hereafter and the former life.
But Allah did punish him, (and made an) example of him, - in the Hereafter, as in this life.
So Allah seized him (and made him) an example for the after (life) and for the former.