Abdullah bin Umar (may Allah be pleased with them both) narrates: Some people camped with the Prophet (peace be upon him) in the region of Hijr, which was the land of the people of Thamud. They took water from the well there and kneaded dough with it. By the order of the Prophet (peace be upon him), the water that had been taken was poured out and the dough was fed to the camels. The Prophet (peace be upon him) instructed those people to obtain water from the well where (the she-camel of) Salih (peace be upon him) used to drink.
Hadith Referenceصحیح ابن حبان / كتاب التاريخ / 6202
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح: ق - مكرر ما قبله.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط البخاري