A man who performs exorcism narrated that during his recitation during an exorcism he spoke to the jinn who threatened him and promised to come after him that night. The man unphased by the threat went home remembering Allah before performing each action and then reciting his athkaar before going to sleep – reciting ayatul Kursi and the three quls.
The following day he returned to continue the ruqya during which he proceeded to ask the jinn why he had not come to harm him like he promised. The jinn replied “I came to your home, but your bed was surrounded by angels so I was unable to reach you”.
We may not see how following the Sunnah protects us from the unseen, but trust in Allah and always strive to remember Him specifically upon waking up and before going to sleep.