Bulugh al-Maram, Book 1, Hadith 42 (English)

Narrated Abu Huraira (rad): Allah’s Messenger said: “When one of you wakes up from his sleep, he must blow of his nose three times, for the Satan spends the night inside one’s nostrils” [Agreed upon].

وَعَنْ أَبِي هُرَيْرَةَ ‏- رضى الله عنه ‏- قَالَ: قَالَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-{ إِذَا اِسْتَيْقَظَ أَحَدُكُمْ مِنْ مَنَامِهِ فَلْيَسْتَنْثِرْ ثَلَاثًا, فَإِنَّ اَلشَّيْطَانَ يَبِيتُ عَلَى خَيْشُومِهِ } مُتَّفَقٌ عَلَيْه ِ (48)‏.‏ ‏4 ‏- صحيح.‏ رواه البخاري (3295)‏، ومسلم (238)‏.‏

sunnah.com

also referenced under: Book 1, Hadith 43 (In-Book)