The son of Mughira b. Shu'ba reported
The Messenger of Allah (ﷺ) went out for relieving himself. Mughira went with him carrying a jug full of water. When he (the Holy Prophet) came back after relieving himself, he poured water over him and he performed ablution and wiped over his socks; and in the narration of Ibn Rumh there is" till" instead of" when".