كتاب الطهارة
2  
The Book of Purification
(28)
Chapter: The prohibition of urinating into standing water
(28)
باب النَّهْىِ عَنِ الْبَوْلِ، فِي الْمَاءِ الرَّاكِدِ ‏‏
Sahih Muslim 282b

Hammam b. Munabbih said:

Of the ahadith narrated to us by Abfi Huraira from Muhammad the Messenger of Allah (ﷺ) one is this: The Messenger or Allah (ﷺ) said: You should not urinate in standing water, that is not flowing, then wash in it.
وَحَدَّثَنَا مُحَمَّدُ بْنُ رَافِعٍ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، حَدَّثَنَا مَعْمَرٌ، عَنْ هَمَّامِ بْنِ مُنَبِّهٍ، قَالَ هَذَا مَا حَدَّثَنَا أَبُو هُرَيْرَةَ، عَنْ مُحَمَّدٍ، رَسُولِ اللَّهِ صلى الله عليه وسلم ‏.‏ فَذَكَرَ أَحَادِيثَ مِنْهَا وَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ لاَ تَبُلْ فِي الْمَاءِ الدَّائِمِ الَّذِي لاَ يَجْرِي ثُمَّ تَغْتَسِلُ مِنْهُ ‏"‏ ‏.‏
Reference : Sahih Muslim 282b
In-book reference : Book 2, Hadith 123
USC-MSA web (English) reference : Book 2, Hadith 555
  (deprecated numbering scheme)