Sayyiduna Hudhayfah (may Allah be pleased with him) narrates that I was walking alongside the Messenger of Allah (peace and blessings be upon him), and he reached a heap belonging to a people and stood and urinated. I moved to one side, so the Messenger of Allah (peace and blessings be upon him) called me and asked: Why did you move to one side? So I stood by his heels. When he finished (urinating), he asked for water, performed ablution, and wiped over his leather socks.
Hadith Referenceالمنتقى ابن الجارود / كتاب الطهارة / 36