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. (Using translation from Muslim 271a)
أَنَّهُ سَمِعَ أَنَسَ بْنَ مَالِكٍ يَقُولُ كَانَ رَسُولُ اللهِ ﷺ يَدْخُلُالْخَلَاءَ فَأَحْمِلُ أَنَا وَغُلَامٌ نَحْوِي إِدَاوَةً مِنْ مَاءٍ وَعَنَزَةً فَيَسْتَنْجِي بِالْمَاءِ