Abu Dawud Book 1, Hadith Number 317.

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

Narated By ‘Aisha, Ummul Mu’minin : The Apostle of Allah (PBUH) sent Usayd ibn Hudayr and some people with him to search the necklace lost by ‘Aisha. The time of prayer came and they prayed without ablution. When they returned to the Prophet (PBUH) and related the fact to him, the verse concerning tayammum was revealed.

Ibn Nufayl added: Usayd said to her: May Allah have mercy upon you! Never has there been an occasion when you were beset with an unpleasant matter but Allah made the Muslims and you come out of that.