Surah At-Tur

52:47

وَإِنَّ لِلَّذِينَ ظَلَمُوا۟ عَذَابًۭا دُونَ ذَٰلِكَ وَلَٰكِنَّ أَكْثَرَهُمْ لَا يَعْلَمُونَ

And indeed, for those who have wronged is a punishment before that, but most of them do not know.

Tafsir 52:47

And for those who wronged themselves through idolatry and sins is a punishment before the punishment of the afterlife: in this life through being killed and imprisoned, and in the Transitory Stage through punishment of the grave. However, most of them do not know that, which is why they remain on their disbelief.