Al-Hakam said that Sayyiduna Ibn Mas'ud (may Allah be pleased with him) used to wash the trace of a wet dream from his garment.