The Prophet (saw) and the people left the bedouin undisturbed till he finished urinating in the mosque
باب تَرْكِ النَّبِيِّ ﷺ وَالنَّاسِ الأَعْرَابِيَّ حَتَّى فَرَغَ مِنْ بَوْلِهِ فِي الْمَسْجِدِ
Sahih al-Bukhari, Book of Ablutions (Wudu')(view book)
Sahih al-Bukhari 219
Narrated Anas bin Malik:
The Prophet saw a Bedouin making water in the mosque and told the people not to disturb him. When he finished, the Prophet asked for some water and poured it over (the urine).
حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، قَالَ حَدَّثَنَا هَمَّامٌ، أَخْبَرَنَا إِسْحَاقُ، عَنْ أَنَسِ بْنِ مَالِكٍ، أَنَّ النَّبِيَّ ﷺ رَأَى أَعْرَابِيًّا يَبُولُ فِي الْمَسْجِدِ فَقَالَ " دَعُوهُ ". حَتَّى إِذَا فَرَغَ دَعَا بِمَاءٍ فَصَبَّهُ عَلَيْهِ.
Classification
Sahih (Authentic)