Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:3275ʿUthmān b. al-Haytham > ʿAwf > Muḥammad b. Sīrīn > Abū Hurayrah

Abu Huraira said, "Messenger of Allah ﷺ put me in charge of the Zakat of Ramadan (i.e. Zakat-ul-Fitr). Someone came to me and started scooping some of the foodstuff of (Zakat) with both hands. I caught him and told him that I would take him to Messenger of Allah ﷺ." Then Abu Huraira told the whole narration and added "He (i.e. the thief) said, 'Whenever you go to your bed, recite the Verse of "Al-Kursi" (2.255) for then a guardian from Allah will be guarding you, and Satan will not approach you till dawn.' " On that the Prophet ﷺ said, "He told you the truth, though he is a liar, and he (the thief) himself was the Satan."  

البخاري:٣٢٧٥وَقَالَ عُثْمَانُ بْنُ الْهَيْثَمِ حَدَّثَنَا عَوْفٌ عَنْ مُحَمَّدِ بْنِ سِيرِينَ عَنْ أَبِي هُرَيْرَةَ ؓ قَالَ

وَكَّلَنِي رَسُولُ اللَّهِ ﷺ بِحِفْظِ زَكَاةِ رَمَضَانَ فَأَتَانِي آتٍ فَجَعَلَ يَحْثُو مِنَ الطَّعَامِ فَأَخَذْتُهُ فَقُلْتُ لأَرْفَعَنَّكَ إِلَى رَسُولِ اللَّهِ ﷺ فَذَكَرَ الْحَدِيثَ فَقَالَ إِذَا أَوَيْتَ إِلَى فِرَاشِكَ فَاقْرَأْ آيَةَ الْكُرْسِيِّ لَنْ يَزَالَ عَلَيْكَ مِنَ اللَّهِ حَافِظٌ وَلاَ يَقْرَبُكَ شَيْطَانٌ حَتَّى تُصْبِحَ فَقَالَ النَّبِيُّ ﷺ صَدَقَكَ وَهْوَ كَذُوبٌ ذَاكَ شَيْطَانٌ  


See similar narrations below:

Collected by Bukhārī
bukhari:5010ʿUthmān b. al-Haytham > ʿAwf > Muḥammad b. Sīrīn > Abū Hurayrah

Messenger of Allah ﷺ ordered me to guard the Zakat revenue of Ramadan. Then somebody came to me and started stealing from the foodstuff. I caught him and said, "I will take you to Messenger of Allah ﷺ!" Then Abu Huraira described the whole narration and said: That person said (to me), "(Please don't take me to Messenger of Allah ﷺ and I will tell you a few words by which Allah will benefit you.) When you go to your bed, recite Ayat-al-Kursi, (2.255) for then there will be a guard from Allah who will protect you all night long, and Satan will not be able to come near you till dawn." (When the Prophet ﷺ heard the story) he said (to me), "He (who came to you at night) told you the truth although he is a liar; and it was Satan."  

البخاري:٥٠١٠وَقَالَ عُثْمَانُ بْنُ الْهَيْثَمِ حَدَّثَنَا عَوْفٌ عَنْ مُحَمَّدِ بْنِ سِيرِينَ عَنْ أَبِي هُرَيْرَةَ ؓ قَالَ

وَكَّلَنِي رَسُولُ اللَّهِ ﷺ بِحِفْظِ زَكَاةِ رَمَضَانَ فَأَتَانِي آتٍ فَجَعَلَ يَحْثُو مِنَ الطَّعَامِ فَأَخَذْتُهُ فَقُلْتُ لأَرْفَعَنَّكَ إِلَى رَسُولِ اللَّهِ ﷺ فَقَصَّ الْحَدِيثَ فَقَالَ إِذَا أَوَيْتَ إِلَى فِرَاشِكَ فَاقْرَأْ آيَةَ الْكُرْسِيِّ لَنْ يَزَالَ مَعَكَ مِنَ اللَّهِ حَافِظٌ وَلاَ يَقْرَبُكَ شَيْطَانٌ حَتَّى تُصْبِحَ وَقَالَ النَّبِيُّ ﷺ صَدَقَكَ وَهْوَ كَذُوبٌ ذَاكَ شَيْطَانٌ