Al-Anbya 21:12
فَلَمَّآ أَحَسُّوا۟ بَأْسَنَآ إِذَا هُم مِّنْهَا يَرْكُضُونَ
Falamma ahassoo ba/sanaitha hum minha yarkudoon
And when they [i.e., its inhabitants] perceived Our punishment, at once they fled from it.
So, as soon as they sensed Our punishment (approaching them), they started fleeing from it.