Surah Al-Isra, ayah 58

17:58

وَإِن مِّن قَرۡيَةٍ إِلَّا نَحۡنُ مُهۡلِكُوهَا قَبۡلَ يَوۡمِ ٱلۡقِيَٰمَةِ أَوۡ مُعَذِّبُوهَا عَذَابٗا شَدِيدٗاۚ كَانَ ذَٰلِكَ فِي ٱلۡكِتَٰبِ مَسۡطُورٗا ٥٨

Wa im min qaryatin illā nahnu muhlikūhā qabla yawmil-qiyāmati aw mu'addhibūhā 'adhāban shadīdan kāna dhālika fil-kitābi mastūrā

And there is no city but that We will destroy it755 before the Day of Resurrection or punish it with a severe punishment. That has ever been in the Register756 inscribed.

Footnotes

755 Because of the sins of its inhabitants.

756 The Preserved Slate (al-Lawḥ al-Maḥfūẓ), which is with Allāh.