The Messenger of Allah ﷺ entered an orchard, accompanied by a young boy carrying a small water vessel. The boy was the youngest among us. He placed the vessel near the lote tree, then the Prophet ﷺ relieved himself. When he came back out to us, he had cleansed himself with water.
حدثنا وهب بن بقية عن خالد يعني الواسطي عن خالد يعني الحذاء عن عطاء بن أبي ميمونة
أن رسول الله ﷺ دخل حائطا ومعه غلام معه ميضأة وهو أصغرنا فوضعها عند السدرة فقضى حاجته فخرج علينا وقد استنجى بالماء
Bukhari recorded it in the chapter on wudu, the section on carrying a spear with him, and Muslim in the chapter on purification, the section on cleansing with water after relieving oneself, hadith 270, from the hadith of Ataa bin Abu Maymuna, with this wording. Muslim also narrated it from the hadith of Khalid Wasiti.