15:4

وَمَا أَهْلَكْنَا مِن قَرْيَةٍ إِلَّا وَلَهَا كِتَابٌ مَّعْلُومٌ

Transliteration:

Wama ahlakna min qaryatin illa walaha kitabun maAAloomun

Word by Word:

And not We destroyed any town but (there was) for it a decree known.

Translations:

And never have We destroyed any community [for its wrongdoing] unless a divine writ had (previously] been made known to it;

Never did We destroy a population that had not a term decreed and assigned beforehand.

And We destroyed no township but there was a known decree for it.

And never did We destroy a town but it had a decree made known.

And We did not destroy any city but that for it was a known decree.