It is narrated from several narrators that when the Messenger of Allah (peace and blessings be upon him) came out of the mosque, he would say: 'Allahumma ihfazni min al-shaytan al-rajim' (O Allah, protect me from Satan the accursed).
This chain is mursal or mu'dal.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب المساجد / 988
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«هذا إسناد مرسل أو معضل» «أخرجه سنن ابن ماجه برقم: 773، وأخرجه المستدرك على الصحيحين برقم: 775، وأخرجه صحيح ابن خزيمة برقم: 452، 2706، وأخرجه صحيح ابن حبان برقم: 2047، 2050، وأخرجه البحر الزخار المعروف بمسند البزار 10 - 18 برقم: 8523، وأخرجه الأوسط في السنن والإجماع والاختلاف برقم: 1245»