Sahih Muslim
The Book of Purification (Kitab Al-Taharah)
Book Number: 002 / Hadith Number: 462
Abu Huraira reported: The Apostle of Allah (may peace be upon him) said. When any one of you awakes up from sleep and performs ablution, he must clean his nose three times, for the devil spends the night in the interior of his nose.