Narrated Anas bin Malik: Whenever Allah's Messenger (ﷺ) went to answer the call of nature, I along with another boy used to carry a tumbler full of water (for cleaning the private parts) and a short spear (or stick).
The chain is ordered from the source of the saying to the compiler: 1 = the speaker/first transmitter, the following links those who passed it on in turn, and at the bottom al-Bukhari who compiled the work. Click a narrator to list every hadith in which he appears; the number in parentheses is how many hadiths across the collections on this site the narrator appears in.