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.
ahmad:12132Yaḥyá b. Saʿīd > Yaḥyá b. Saʿīd > Anas b. Mālik

[Machine] I heard Anas ibn Malik say that a Bedouin entered the mosque during the time of the Prophet Muhammad ﷺ and urinated. The Prophet ﷺ forbade him and said, "Leave him alone." Then he ordered that water be poured either on the affected area or on the urine itself.  

أحمد:١٢١٣٢حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ عَنْ يَحْيَى بْنُ سَعِيدٍ قَالَ

سَمِعْتُ أَنَسَ بْنَ مَالِكٍ يَقُولُ دَخَلَ أَعْرَابِيٌّ الْمَسْجِدَ عَلَى عَهْدِ رَسُولِ اللهِ ﷺ فَبَالَ فَنَهَوْهُ فَقَالَ رَسُولُ اللهِ ﷺ دَعُوهُ وَأَمَرَ أَنْ يُصَبَّ عَلَيْهِ أَوْ أُهَرِيقَ عَلَيْهِ الْمَاءُ