Sure An-Naml

27:52

فَتِلْكَ بُيُوتُهُمْ خَاوِيَةًۢ بِمَا ظَلَمُوٓا۟ ۗ إِنَّ فِى ذَٰلِكَ لَءَايَةًۭ لِّقَوْمٍۢ يَعْلَمُونَ

Dies sind nun ihre Häuser, wüst dafür, daß sie Unrecht taten. Darin ist wahrlich ein Zeichen für Leute, die Bescheid wissen.

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.