Narrated 'Abdullah bin 'Umar:
(While we were going for the Battle of Tabuk and when we reached the places of the dwellers of Al-Hijr), Allah's Apostle ﷺ said about the dwellers of Al-Hijr (to us). "Do not enter (the dwelling places) of these people unless you enter weeping, but if you weep not, then do not enter upon them, lest you be afflicted with what they were afflicted with."
• Sahih al-Bukhari, Vol. 6, Book of Prophetic Commentary on the Qur'an, Hadith 225
• Sahih al-Bukhari, Book of Prophetic Commentary on the Qur'an, Hadith 225