Quran 7:39 — The Purgatory (Al-A'araf)
The ancestral group will say to the later group, "Since you had an advantage over us, taste the retribution for your own sins."
[7:38] He will say, "Enter with the previous communities of jinns and humans into Hell." Every time a group enters, they will curse their ancestral group. Once they are all in it, the latest one will say of the previous one, "Our Lord, these are the ones who misled us. Give them double the retribution of Hell." He will say, "Each receives double, but you do not know."
[7:40] Surely, those who reject our revelations and are too arrogant to uphold them, the gates of the sky will never open for them, nor will they enter Paradise until the camel passes through the needle's eye. We thus requite the guilty.