NASAI 55:
from al-Masjid Fabāl Faṣāḥ Bih al-Nās —
"A Bedouin came to the Masjid and urinated, and the people yelled at him, but the Messenger of Allah ﷺ said: 'Leave him alone.' So they left him alone. When he had finished urinating, he ordered that a bucket (be brought) and poured over it."
النسائي ٥٥:
عن المسجد فبال فصاح به الناس —
سَمِعْتُ أَنَسًا يَقُولُ جَاءَ أَعْرَابِيٌّ إِلَى الْمَسْجِدِ فَبَالَ فَصَاحَ بِهِ النَّاسُ فَقَالَ رَسُولُ اللَّهِ ﷺ اتْرُكُوهُ فَتَرَكُوهُ حَتَّى بَالَ ثُمَّ أَمَرَ بِدَلْوٍ فَصُبَّ عَلَيْهِ
hadithunlocked.com