Anas b. Malik reported
The Messenger of Allah (ﷺ) entered an enclosure while a servant was following him with a jar of water and he was the youngest amongst us and he placed it by the side of a lote-tree. When the Messenger of Allah, (ﷺ) relieved himself, he came out and had cleansed himself with water.
Anas b. Malik reported
When the Messenger of Allah (ﷺ) entered the privy, a servant and I used to carry a skin of water, and a pointed staff, and he would cleanse himself with water.
Anas b. Malik reported
The Messenger of Allah (ﷺ) went to a far-off place in the desert (hidden from the sight of human beings) for relieving himself. Then I brought water for him and he cleansed himself.