Question:
How can one seek protection from the accursed Satan before sleep?
Answer:
Sayyiduna Abu Hurairah (may Allah be pleased with him) narrated that Satan said to him:
“When you go to your bed, recite Ayat al-Kursi from beginning to end: الله لا إله إلا هو الحى القيوم And he said to me: From Allah, a guardian will be appointed over you, and Satan will not come near you until morning.” Then the Prophet ﷺ said: “Indeed, he has spoken to you the truth though he is a liar. That was Satan.”
Reference: Sahih al-Bukhari, Hadith number 2311