Sahih al-Bukhari, Book 46, Hadith 32 (Bukhari 2375)

Narrated Hudhaifa:

I saw Allah's Messenger (ﷺ) coming (or the Prophet (ﷺ) came) to the dumps of some people and urinated there while standing .