Surah Al-Isra Verse 58 - English Translation by Muhammad Sarwar
Surah Al-Israوَإِن مِّن قَرۡيَةٍ إِلَّا نَحۡنُ مُهۡلِكُوهَا قَبۡلَ يَوۡمِ ٱلۡقِيَٰمَةِ أَوۡ مُعَذِّبُوهَا عَذَابٗا شَدِيدٗاۚ كَانَ ذَٰلِكَ فِي ٱلۡكِتَٰبِ مَسۡطُورٗا
The decree that all the towns were to be destroyed or afflicted with severe punishment was already written in the Book before the Day of Judgment