The Messenger of Allah ﷺ forbade urinating in stagnant water.
أخبرنا قتيبة قال حدثنا الليث عن أبي الزبير
عن رسول الله ﷺ أنه نهى عن البول في الماء الراكد
No references are available.
Muslim also narrated it in the Book of Purification, the chapter on the prohibition of urinating in stagnant water, hadith (281), from Qutayba Ibn Saeed with the same chain, and it is also found in Al-Kubra, hadith (35).