The Prophet ﷺ said, "None of you should urinate into stagnant water and then bathe in it."
حدثنا أحمد بن يونس حدثنا زائدة في حديث هشام عن محمد
عن النبي ﷺ قال لا يبولن أحدكم في الماء الدائم ثم يغتسل منه
Reference: Also narrated by Muslim in the Book of Purification, chapter on the prohibition of urinating in stagnant water, hadith no. 282, from the hadith of Hisham bin Hassan through the same chain.