It is narrated from Sayyiduna Abdullah bin Salam (may Allah be pleased with him) that "whenever he entered the mosque, he would send salam to the Prophet (peace and blessings be upon him) and then supplicate: 'Allahumma iftah li abwaba rahmatik' (O Allah, open for me the gates of Your mercy); and when he came out of the mosque, he would send blessings upon the Prophet (peace and blessings be upon him) and seek refuge with Allah Almighty from the evil of the accursed Satan."
This narration is mawquf, and there is a break (inqita') in its chain.
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / كتاب الصلاة / 377
Hadith Gradingمحدثین:إسناده موقوف
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :قال ابن حجر: مَوْقُوفٌ ، وَفِيهِ انْقِطَاعٌ . » «أورده ابن حجر فى "المطالب العالية"، 377، وأخرجه ابن أبى شيبة فى «مصنفه» برقم: 3435، 30387»