The Poets - 26:146 Will you be left there in safety?
The corrupt people of Thamud are warned:
The Ants/27:14 Because of their oppression and arrogance, they believed that they were right and rejected them. Behold how is the end of the corrupters.

The Spider/29:40 And We seized them all with their sins. And We sent upon some of them a mad storm, and a terrible sound seized some of them, and We drove some of them into the earth and drowned some of them. It was not Allah who wronged them; they wronged themselves.

The Table Spread/5:33 The recompense for those who fight against Allah and His messenger and strive for corruption in the earth: They shall be killed or hanged, or their hands and feet shall be cut off crosswise, or they shall be driven out of their homes. This is humiliation in this world. And in the Hereafter there is a great punishment.