Sure Al-An'aam

6:30

وَلَوْ تَرَىٰٓ إِذْ وُقِفُوا۟ عَلَىٰ رَبِّهِمْ ۚ قَالَ أَلَيْسَ هَٰذَا بِٱلْحَقِّ ۚ قَالُوا۟ بَلَىٰ وَرَبِّنَا ۚ قَالَ فَذُوقُوا۟ ٱلْعَذَابَ بِمَا كُنتُمْ تَكْفُرُونَ

Und wenn du sehen würdest, wenn sie vor ihren Herrn gestellt werden! Er wird sagen: "Ist dies nicht die Wahrheit?" Sie sagen: "Ja doch, bei unserem Herrn!" Er wird sagen: "Kostet nun die Strafe dafür, daß ihr stets ungläubig wart."

Tafsir 6:30

If you, O Messenger, could only see when those who denied the resurrection will be made to stand before their Lord, you would see a remarkable sight of their trouble when Allah will say to them: Is this resurrection that you used to deny not the truth about which there is no doubt? They will say: I swear by our Lord Who created us, it is certainly true and there is no doubt about it. Allah will then say to them: Taste the punishment that is a result of your denial of this day, which you used to reject in the life of the world.