Surah Al-Israa

17:58

وَإِن مِّن قَرْيَةٍ إِلَّا نَحْنُ مُهْلِكُوهَا قَبْلَ يَوْمِ ٱلْقِيَٰمَةِ أَوْ مُعَذِّبُوهَا عَذَابًۭا شَدِيدًۭا ۚ كَانَ ذَٰلِكَ فِى ٱلْكِتَٰبِ مَسْطُورًۭا

Dan tiada sesebuah negeri pun melainkan Kami akan membinasakannya sebelum hari kiamat, atau Kami menyeksa penduduknya dengan azab seksa yang berat; yang demikian itu adalah tertulis di dalam Kitab (Lauh Mahfuz).

Tafsir 17:58

And there is no town or city except I will send upon it punishment and destruction in this worldly life due to their disbelief, or afflict it with a mighty punishment such as being killed, due to their disbelief. This destruction and punishment is a divine decree written in the Preserved Tablet.