It is narrated from Hazrat Hudhaifa bin Yaman (may Allah be pleased with him) that once I was with the Noble Prophet (peace and blessings be upon him) on a certain path. While walking, we reached a place where rubbish was thrown. The Noble Prophet (peace and blessings be upon him) stood and urinated as any one of you does. I started to move back, but the Noble Prophet (peace and blessings be upon him) said, "Stay close." So I came close to his back. Then the Noble Prophet (peace and blessings be upon him) asked for water, performed ablution, and wiped over his leather socks.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 23414