Dr. Mustafa Khattab, the Clear Quran - Surah Ya-Sin, ayah 67

Translation of Surah Ya-Sin, ayah 67 (36:67)

وَلَوۡ نَشَآءُ لَمَسَخۡنَٰهُمۡ عَلَىٰ مَكَانَتِهِمۡ فَمَا ٱسۡتَطَٰعُواْ مُضِيّٗا وَلَا يَرۡجِعُونَ ٦٧
And had We willed, We could have transfigured them on the spot,1 so they could neither progress forward nor turn back.

Foot notes

222428

Meaning, We have the ability to turn them into stone or any other inanimate object.