It was narrated that 'Ammar bin Yasir said: "I became Junub while I was on a camel and I could not find any water, so I rolled in the dust like an animal. I came to the Messenger of Allah (ﷺ) and told him about that, and he said: “Tayammum would have been sufficient for you”"
Sahih LighairihiSahihSahihBook 1 · Hadith 314