Surah An-Naml 27:52
فَتِلْكَ بُيُوتُهُمْ خَاوِيَةًۢ بِمَا ظَلَمُوٓا۟ ۗ إِنَّ فِى ذَٰلِكَ لَـَٔايَةً لِّقَوْمٍ يَعْلَمُونَ
So those are their houses, desolate because of the wrong they had done. Indeed in that is a sign for people who know.
Translation: Saheeh International
Tafsir
So those then are their houses lying deserted khāwiyatan is in the accusative because it is a circumstantial qualifier the operator of which is the import of the demonstrative pronoun tilka ‘those’ because of the evil which they did that is their disbelief. …
Excerpt from Tafsir al-Jalalayn, commentary on 27:52, via Quran.com. The reader has the full commentary and 9 more tafsirs.