On the prohibition against relieving oneself in the road, shady places, water sources, etc

Riyad as-Salihin (The Meadows of the Righteous)

by Imam Nawawi

351. Chapter: On the prohibition against relieving oneself in the road, shady places, water sources, etc.

Allah Almighty says, "And those who abuse believing men and woman, when they have not merited it, bear the weight of slander and clear wrongdoing." (33:58)

1771. Abu Hurayra stated that the Messenger of Allah, may Allah bless him and grant him peace, said, "Beware of the two cursed things." They said, "What are the cursed things?" He said, "Someone relieving himself on a path people use or in a place they go for shade." [Muslim]