All perfect praise be to Allaah, the Lord of the worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His Slave and Messenger.
It is clear that this could not be a Hadeeth and its style is not the kind that was used by the Prophet, sallallaahu ‘alayhi wa sallam. The proven authentic Hadeeth in this regard is the one narrated on the authority of Abu Hurayrah where the Prophet, sallallaahu ‘alayhi wa sallam, said that whoever recites the verse of Al-Kursi (Quran 2: 255) before going to sleep is granted protection from the devil until he wakes up in the morning. [Al-Bukhari: Mu‘allaq (addition), and An-Nasaa’i: Saheeh authentic chain of transmission]
Allaah Knows best.