Abu Dawud Book 1, Hadith Number 371.
Chapter : A peerson who is sexually defiled is permitted to eat anything before washing.
Narated By N/A : Hammam b. al-Harith reported, he had a sexual dream when he was staying with ‘Aisha. The slave-girl of ‘Aisha saw him when he was washing the mak of defilement, or he was washing his clothe. She informed ‘Aisha who said: He witnessed me rubbing off the semen from the clothe of the Apostle of Allah (PBUH).
Abu Dawud said: Al-A’mash narrated it as narrated by al-Hakam.