It was narrated from Bukair bin 'Abdullah bin Ashajj that:
Abu Sa'ib, the freed slave of Hisham bin Zuhrah, told him that he heard Abu Hurairah say: "The Messenger of Allah said: 'No one of you should bathe in standing water when he is sexually impure.'" He (Abu Sa'ib) said: "What should he do, O Abu Hurairah?" He said: "Let him take some out (and pour it over himself)."
English reference: Vol. 1, Book 1, Hadith 605
Arabic reference: Book 1, Hadith 648