The Book of Purification (Kitab Al-Taharah)
Muslim :: Book 2 : Hadith 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.