Sahih al-Bukhari, Book 4, Hadith 17 (Bukhari 151)

Narrated Anas:

Whenever Allah's Messenger (ﷺ) went to answer the call of nature, I along with another boy from us used to go behind him with a tumbler full of water.