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.'" (AR)
English reference (AR): Vol. 1, Book 1, Hadith 314 (AR)
Arabic reference (AR): Book 1, Hadith 315 (AR)