It is narrated from Hazrat Anas (may Allah be pleased with him) that once during the Prophetic era, a Bedouin came and urinated in the Prophet's Mosque. The people tried to stop him, but the Prophet (peace and blessings be upon him) said, "Leave him," and ordered that a bucket of water be poured over it.