When the Prophet ﷺ passed by al-Hijr, he said, "Do not enter the dwellings of those who wronged themselves unless you are weeping, lest there befall you what befell them." Then he covered his head with his cloak while still mounted on his saddle.
حدثني محمد أخبرنا عبد الله عن معمر عن الزهري قال أخبرني
أن النبي ﷺ لما مر بالحجر قال لا تدخلوا مساكن الذين ظلموا أنفسهم إلا أن تكونوا باكين أن يصيبكم ما أصابهم ثم تقنع بردائه وهو على الرحل