It was narrated from 'Ali bin Abu Talib that:
The Messenger of Allah said: "The eye is the leather strap (that ties up) the anus, so whoever falls asleep, let him perform ablution." (ES)
English reference (ES): Vol. 1, Book 1, Hadith 477 (ES)
Arabic reference (ES): Book 1, Hadith 515 (ES)