Quran 7:164 — The Purgatory (Al-A'araf)
Recall that a group of them said, "Why should you preach to people whom GOD will surely annihilate or punish severely?" They answered, "Apologize to your Lord," that they might be saved.
[7:163] Remind them of the community by the sea, who desecrated the Sabbath. When they observed the Sabbath, the fish came to them abundantly. And when they violated the Sabbath, the fish did not come. We thus afflicted them, as a consequence of their transgression.
[7:165] When they disregarded what they were reminded of, we saved those who prohibited evil, and afflicted the wrongdoers with a terrible retribution for their wickedness.