The Book of Purification (Kitab Al-Taharah)
Muslim :: Book 2 : Hadith 541
Abu Huraira said: When anyone amongst you wakes up from sleep, he must not put his hand in the utensil till he has washed it three times, for he does not know where his hand was during the night.