It was narrated from 'Aishah that:
If the Prophet wanted to eat when he was sexually impure, he would wash his hands. (ID)
English reference (ID): Vol. 1, Book 1, Hadith 593 (ID)
Arabic reference (ID): Book 1, Hadith 636 (ID)