Sayyiduna al-Walid bin al-Walid (may Allah be pleased with him) narrates that he said: O Messenger of Allah! I feel a sense of fear and loneliness. The Prophet (peace and blessings be upon him) said: When you go to your bed, recite:
'A'udhu bi-kalimatillahit-tammati min ghadabihi wa 'iqabihi wa sharri 'ibadihi wa min hamazatish-shayatini wa an yahdurun' (I seek refuge in the perfect words of Allah Almighty from His anger, from His punishment and from the evil of His servants, and from the whisperings of the devils and from their coming to me).
The Prophet (peace and blessings be upon him) said: Then nothing will harm you; rather, it is more likely that it will not even be able to come near you.
Ahmad recorded it, and its narrators are the narrators of the Sahih, except that Muhammad bin Yahya bin Habban did not hear from Sayyiduna al-Walid bin al-Walid (may Allah be pleased with him).
(Allamah al-Haythami says:) I say: Various hadiths of this kind will come in the chapter on what a person should recite when he feels restless and cannot sleep.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الأذكار / 17048
Hadith Gradingمحدثین:منقطع
Hadith Takhrij«اخرجه احمد فى المسند (57/4) ، أخرجه مسند أحمد برقم: 16137، 23327»