15:4
وَمَآ أَهْلَكْنَا مِن قَرْيَةٍ إِلَّا وَلَهَا كِتَابٌ مَّعْلُومٌ
wamā ahlaknā min qaryatin illā walahā kitābun maʿlūmun
Never have We destroyed a community that did not have a set time;
And never did We destroy a township but there was a known decree for it.