The Messenger of Allah went out to relieve himself, and Mughirah followed him with a vessel of water. When he finished relieving himself, he performed ablution and wiped over his leather socks.
عَنْ رَسُولِ اللَّهِ ﷺ أَنَّهُ خَرَجَ لِحَاجَتِهِ فَاتَّبَعَهُ الْمُغِيرَةُ بِإِدَاوَةٍ فِيهَا مَاءٌ حَتَّى فَرَغَ مِنْ حَاجَتِهِ فَتَوَضَّأَ وَمَسَحَ عَلَى الْخُفَّيْنِ