Whenever the Prophet (ﷺ) went to answer the call of nature, I used to bring water with which he used to clean his private parts.

Sahih al-Bukhari Book 4, Hadith 83