"مِنْهُ"
Another version of Al-Bukhari has: “None of you should urinate in stagnant water that is not flowing, and then take bath in it”. A version of Muslim has the words “from it (i.e. the water)”. A version of Abu Da’ud has: “One should not take bath in it from sexual impurity”.