Quran 7:146 — The Purgatory (Al-A'araf)
I will divert from My revelations those who are arrogant on earth, without justification. Consequently, when they see every kind of proof they will not believe. And when they see the path of guidance they will not adopt it as their path, but when they see the path of straying they will adopt it as their path. This is the consequence of their rejecting our proofs, and being totally heedless thereof.
[7:145] We wrote for him on the tablets all kinds of enlightenments and details of everything: "You shall uphold these teachings strongly, and exhort your people to uphold them—these are the best teachings. I will point out for you the fate of the wicked."
[7:147] Those who reject our revelations and the meeting of the Hereafter, their works are nullified. Are they requited only for what they committed?