عن ابي هريرة عن النبي ﷺ قال لا يبولنَّ أحدكم في الماء الدائم ثم يغتسل منه
صحيح مسلم كتاب الطهارة
Abu Huraira related from the Prophet (SAW), who said: Let none of you ever urinate into stagnant water and then bathe with it.
Sahih Muslim, The book of purity