A bedouin urinated in the mosque and the people ran to (beat) him. Messenger of Allah ﷺ said, "Do not interrupt his urination (i.e. let him finish)." Then the Prophet ﷺ asked for a tumbler of water and poured the water over the place of urine.
أَنَّ أَعْرَابِيًّا بَالَ فِي الْمَسْجِدِ فَقَامُوا إِلَيْهِ فَقَالَ رَسُولُ اللَّهِ ﷺ لا تُزْرِمُوهُ ثُمَّ دَعَا بِدَلْوٍ مِنْ مَاءٍ فَصُبَّ عَلَيْهِ