Sahih al-Bukhari, Book 4, Hadith 90 (Bukhari 224)

Narrated Hudhaifa:

Once the Prophet (ﷺ) went to the dumps of some people and passed urine while standing. He then asked for water and so I brought it to him and he performed ablution.