It was narrated from 'Aishah that:
If the Prophet wanted to eat when he was sexually impure, he would wash his hands.
English reference: Vol. 1, Book 1, Hadith 593
Arabic reference: Book 1, Hadith 636
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.