Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:510Abū Bakr Muḥammad b. al-Ḥasan b. Fūrak > ʿAbdullāh b. Jaʿfar b. Aḥmad > Yūnus b. Ḥabīb > Abū Dāwd > Shuʿbah > ʿAṭāʾ b. Abū Maymūnah > Anas > Kān Rasūl Allāh

[Machine] I heard Anas saying that the Messenger of Allah ﷺ used to go to the bathroom and I would follow him along with a young boy from the Ansar, carrying a container of water, so he would clean himself with it after defecating. This narration is found in Sahihayn (i.e. Sahih Bukhari and Sahih Muslim) from the hadith of Shu'bah ibn al-Hajjaj.  

البيهقي:٥١٠أَخْبَرَنَا أَبُو بَكْرٍ مُحَمَّدُ بْنُ الْحَسَنِ بْنِ فُورَكٍ أنا عَبْدُ اللهِ بْنُ جَعْفَرِ بْنِ أَحْمَدَ ثنا يُونُسُ بْنُ حَبِيبٍ ثنا أَبُو دَاودَ ثنا شُعْبَةُ عَنْ عَطَاءِ بْنِ أَبِي مَيْمُونَةَ قَالَ

سَمِعْتُ أَنَسًا يَقُولُ كَانَ رَسُولُ اللهِ ﷺ يأْتِي الْخَلَاءَ فَأَتَّبِعُهُ أَنَا وَغُلَامٌ مِنَ الْأَنْصَارِ بِإِدَاوَةٍ مِنْ مَاءٍ فَيَسْتَنْجِي بِهَا مُخَرَّجٌ فِي الصَّحِيحَيْنِ مِنْ حَدِيثِ شُعْبَةَ بْنِ الْحَجَّاجِ  


See similar narrations below:

Collected by Ibn Ḥibbān
ibnhibban:1442Abū Khalīfah > Abū al-Walīd > Shuʿbah > Abū Muʿādh / ʿAṭāʾ b. Abū Maymūnah > Anas b. Mālik

[Machine] "I heard Anas ibn Malik saying, 'When the Messenger of Allah ﷺ finished using the toilet, I and a young boy from the Ansar used to bring him a vessel of water for purification, and he would perform istinja with it.'"  

ابن حبّان:١٤٤٢أَخْبَرَنَا أَبُو خَلِيفَةَ قَالَ حَدَّثَنَا أَبُو الْوَلِيدِ قَالَ حَدَّثَنَا شُعْبَةُ عَنْ أَبِي مُعَاذٍ وَهُوَ عَطَاءُ بْنُ أَبِي مَيْمُونَةَ قَالَ

سَمِعْتُ أَنَسَ بْنَ مَالِكٍ يَقُولُ «كَانَ رَسُولُ اللَّهِ ﷺ إِذَا خَرَجَ مِنْ حَاجَتِهِ أَجِيءُ أَنَا وَغُلَامٌ مِنَ الْأَنْصَارِ بِإِدَاوَةٍ مِنْ مَاءٍ فَيَسْتَنْجِي بِهِ»