The people landed at the land of Thamud called Al-Hijr along with Allah's Messenger (ﷺ)…

Sahih al-Bukhari Book 60 Hadith 53

Sahih al-Bukhari #3379

Prophets 60:53

Narrated `Abdullah bin `Umar:

The people landed at the land of Thamud called Al-Hijr along with Allah's Messenger (ﷺ) and they took water from its well for drinking and kneading the dough with it as well. (When Allah's Messenger (ﷺ) heard about it) he ordered them to pour out the water they had taken from its wells and feed the camels with the dough, and ordered them to take water from the well whence the she-camel (of Prophet Salih) used to drink.

Chapter: The Statement of Allah Taa'la: "And to Thamud (people, We sent) their brother Salih..."

Grade: Sahih