Ibn Umar narrated that while the Prophet Muhammad was passing by Thamud's houses on his way to the battle of Tabuk, he stopped together with the people there. The people fetched water from the wells from which the people of Thamud used to drink. They prepared their dough (for baking) and filled their water-skins from it (the water from the wells). The Prophet of Allah ordered them to empty the water-skins and give the prepared dough to the camels. Then he went away with them until they stopped at the well from which the she-camel (of Salih) used to drink. He warned them against entering upon the people that had been punished, saying: "I fear that you may be affected by what afflicted them; so do not enter upon them."