"You should not pass urine in stagnant water which is not flowing then (you may need to) wash in it."
Sahih al-Bukhari Book 4, Hadith 105