Abu Dawud Book 1, Hadith Number 233.

Chapter : A person who is sexually defiled is permitted to eat anything before washing.

Narated By Abu Bakrah : The Apostle of Allah (PBUH) began to lead (the people) in the dawn prayer. He then signalled with his hand: (Stay) at your places. (Then he entered his home). He then returned while drops of water were coming down from him (from his body) and he led them in prayer.