1. The Prophet (PBUH) said this on the urination of a bedouin in the mosque. He made him understand very politely and prudently that mosques are meant for worship, remembrance of Allah, recitation of the Qur'an and similar other acts of piety, and one should not do any thing that violates their sanctity.
2. The narrator has added the words "or as he stated". It was a practice with the narrators of Ahadith to say these words by way of care to cover the risk of any change in the Hadith wording.