The Prophet (ﷺ) and I walked till we reached the dumps of some people. He stood, as any…

Sahih al-Bukhari Book 4 Hadith 92

Sahih al-Bukhari #225

Ablutions (Wudu') 4:92

Narrated Hudhaifa':

The Prophet (ﷺ) and I walked till we reached the dumps of some people. He stood, as any one of you stands, behind a wall and urinated. I went away, but he beckoned me to come. So I approached him and stood near his back till he finished.

Chapter: To urinate beside one's companion while screened by a wall

Grade: Sahih