Sayyiduna Ibn Abbas (may Allah be pleased with them both) narrates that Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) had a discharge of madhy, so he washed his private parts and performed ablution, and Sayyiduna Umar (may Allah be pleased with him) asked him: "Is this sufficient?" He replied: "Yes." He asked: "And did you hear it from the Prophet (peace and blessings be upon him)?" He said: "Yes."
Ibn Majah (may Allah have mercy on him) narrated something similar from Abu Bakr bin Abi Shaybah (may Allah have mercy on him), from Muhammad bin Bishr (may Allah have mercy on him).