Ali (RA) said: “Allah's Messenger ﷺ would make us recite the Qur'an in all conditions, as long as he was not Junub.”
Chapter No: 111
Chapter No: 112
Abu Hurairah (RA) said: "A Bedouin entered the Masjid while the Prophet ﷺ was sitting. He offered Salah, ﷺ and then he supplicated: 'O Allah! Have mercy upon me and Muhammad ﷺ, and do not have mercy on anyone else besides us.' The Prophet turned, towards him and said: ‘you have limited (the application of) a very large thing (Mercy).' It was not long before when this man urinated in the Masjid. So the people ran towards him. But the Prophet ﷺsaid: 'Pour a bucket of water over it, or a tumbler of water over it.' Then he said: 'you have been sent only as those who make things easy (for the people) and not as those who create difficulties.'"
Anas bin Malik (RA) narrated similar to this (no. 147).