The Messenger of Allah ﷺ said to me, "What did your captive do last night?"I replied, "Messenger of Allah, he claimed that he would teach me words by which Allah would benefit me, so I let him go."He asked, "What were they?"I said, "He told me, 'When you go to your bed, recite Ayat al-Kursi from its beginning until you complete the verse, "Allah, there is no god but He, the Ever-Living, the Sustainer of all" [Baqarah 2:255].' He told me, 'A guardian from Allah will continue to watch over you, and no devil will come near you until morning.'" The companions were the most eager of people for any good.The Prophet ﷺ said, "He told you the truth, though he is a great liar. Do you know whom you have been speaking with these past three nights, Abu Hurayrah?"He answered, "No."He said, "That was a devil."
في قصة حفظ زكاة رمضان
قال لي رسول الله ﷺ: ما فعل أسيرك البارحة؟ قلت: يا رسول الله زعم أنه يعلمني كلمات ينفعني الله بها فخليت سبيله قال: ما هي؟ قلت: قال لي إذا أويت إلى فراشك، فاقرأ آية الكرسي من أولها حتى تختم الآية {الله لا إله إلا هو الحي القيوم} وقال لي: لن يزال عليك من الله حافظ، ولا يقربك شيطان حتى تصبح، وكانوا أحرص شيء على الخير، فقال النبي ﷺ: أما إنه قد صدقك وهو كذوب، تعلم من تخاطب منذ ثلاث ليال يا أبا هريرة؟ قال: لا، قال: ذاك شيطان.
Bukhari related it in the Book of Agency (2311), saying, "Uthman bin Haytham Abu Amr said, Awf narrated to us, from Muhammad bin Sirin, from Abu Hurairah," and he mentioned it.Uthman bin Haytham is one of Bukhari's teachers, so it is taken to be a connected chain.