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.

Tafsir 27:52

So those are their homes whose walls have fallen on their roofs, and they have remained empty of inhabitants, due to their wrongdoing. In the punishment which has afflicted them due to their wrongdoing is a lesson for people who believe, as they are the ones who take lessons from the signs.