It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: None of you should urinate in standing water and then use it to perform ghusl (ritual bath).
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 8740