Muhammad bin Sa'd al-Ansari (may Allah have mercy on him) narrates from his father (Sa'd al-Ansari) (may Allah have mercy on him) that Sayyiduna Anas bin Malik (may Allah be pleased with him) came to al-Mihras (a large stone basin), then he urinated standing, then performed ablution and wiped over his leather socks, then set off towards the mosque or the prayer.
I said: "You have done something that is disliked: you urinated standing, then performed ablution and wiped over your leather socks, then set off towards the mosque or the prayer."
He said: "I served the Messenger of Allah (peace and blessings be upon him) for nine years, and he (peace and blessings be upon him) used to do this."
Related hadith on this topic