Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) related that when the Prophet (peace and blessings be upon him) passed by the place called al-Hijr, he said: "Do not enter the dwellings of those who wronged themselves except weeping, lest what struck them should strike you." Then the Prophet (peace and blessings be upon him) covered his head and walked quickly until he had crossed the valley.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 4368