Asma’ daughter of Abu Bakr said that a woman asked God's messenger to tell her what one should do when blood from her menses dropped on her garment. He replied, “When blood from her menses drops on the garment of any of you, she should rub it with her fingers and sprinkle water on it, then she may pray in it.”
While we were in the mosque with God’s messenger a desert Arab came and began to pass water in the mosque. The companions of God's messenger said, “Stop! Stop!” but God’s messenger said,
“Don’t interrupt him; leave him alone.” They left him alone, and when he had finished God’s messenger called him and said to him, “These mosques are not suitable places for urine and filth, but are only for remembrance of God, prayer and recitation of the Qur’an,” or however God’s messenger expressed it.* Anas said that he then grave orders to one of the people who brought a bucket and poured water over it.
*Indicating that the transmitter is not sure of the exact words.
Sulaiman b. Yasir said that he asked ‘A’isha about the prostatic fluid which gets on to a garment, and she replied, “I used to wash it from the garment at God's messenger, and he would go out to prayer with the mark of the washing on his garment."
He also said that when a desert Arab got up and passed water in the mosque the people took hold of him, but the Prophet said to them,
“Leave him alone, and pour a bucket* of water over what he has passed, for you have been sent only to make things easy and not to make things difficult.”
*The text has sajl au dhanub, the transmitter not being sure which word was used. Both mean a bucket.