Abdullah bin Umar (may Allah be pleased with them both) narrated that he (peace and blessings be upon him) said: "Do not enter the settlements of the people of Thamud, except that you pass by weeping. If you do not weep, I fear that a punishment like the one that struck them may strike you."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 4366