Abdullah bin Umar (may Allah be pleased with them both) narrates: We passed by the place of "Hijr" along with the Prophet Muhammad (peace be upon him), so the Prophet (peace be upon him) said to us: Enter the dwellings of those people who wronged themselves while weeping, fearing that the same punishment may befall you as befell them. Then the Prophet (peace be upon him) hastened his pace and passed quickly through that valley.
Hadith Referenceصحیح ابن حبان / كتاب التاريخ / 6199
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الصحيحة» (19)، «تخريج فقه السيرة» (408): ق.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط مسلم