The Book of Purification and its Sunnah 1:571
It was narrated from Anas bin Malik that:
A Bedouin urinated in the mosque, and some of the people rushed at him. The Messenger of Allah said: "Do not interrupt him." Then he called for a bucket of water and poured it over (the urine).