Sahih Muslim, Book 2, Hadith 112 (Muslim 642)

Abu Huraira reported:

The Apostle of Allah (ﷺ) said: When anyone amongst you wakes up from sleep, he should wash his hands three times before putting it in the utensil, for he does not know where his hand was during the night.