Answer:
It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that a visitor came to him and began scooping up handfuls of the charity (property). The noble Prophet ﷺ had appointed Abu Hurayrah (may Allah be pleased with him) to guard that property at night. Then, when it was the third night, Abu Hurayrah (may Allah be pleased with him) said to him: I will surely take you to the Messenger of Allah. He said: Leave me, and I will teach you some words by which Allah will benefit you. I said: What are they? He said:
«إذا أويت إلى فراشك فأقرأ آية الكرسي الله لا إله إلا هو الحى القيوم حتى تختم الآية. وقال لي: لن يزال عليك من الله حافظ، ولا يقربك شيطان حتى تصبح. فقال النبى صلى الله عليه وسلم : صدقك وهو كذوب، ذاك شيطان»
“When you go to your bed, recite Ayat al-Kursi, the complete verse. Indeed, there will be a guardian over me from Allah, and no devil will come near you until morning.” Then the noble Prophet ﷺ said: “He told you the truth, even though he is a liar. That was a devil.”