When passing by the dwellings of Thamūd, the Prophet (may Allah's peace and blessings be upon him) forbade entering the dwellings of those punished people, who wronged themselves, or visiting them, unless the one entering is weeping and reflecting upon their fate, out of fear that the same punishment that befell them might befall him. Then, he commanded his mount to hasten and passed quickly, leaving the area behind.
- Reflection on the conditions of those whom Allah Almighty destroyed, being cautious of what they fell into, and being wary of heedlessness in contemplating the verses.
- The dwellings of these punished people should not be inhabited after them, nor should they be taken as a place of residence, because a permanent inhabitant cannot remain constantly weeping, and it was forbidden to enter these places except in this state.
- An-Nawawi said: It encourages vigilance when passing by the dwellings of the wrongdoers and places of punishment, similar to hastening through the valley of Muhassir, where the companions of the elephant perished. Therefore, one should be vigilant, fearful, weeping, and reflecting on their fate, seeking refuge with Allah from such an end.
- The prohibition and warning apply to the dwellings of Thamūd and others like them from all the nations that were afflicted with punishment.
- The prohibition of taking such places and areas for tourism, recreation, or similar purposes.
صحيح البخاري (4/ 149) (3380). صحيح مسلم (4/ 2286) (2980). النهاية في غريب الحديث والأثر (187) (395). إرشاد الساري لشرح صحيح البخاري (6/ 458) (5/ 368). البحر المحيط الثجاج في شرح صحيح الإمام مسلم بن الحجاج (45/ 169).