It is narrated from Sayyiduna Abu Lubabah bin Abd al-Mundhir (may Allah be pleased with him) that when the Messenger of Allah (peace and blessings be upon him) intended to enter a town, he would not enter it until he had made this supplication: 'Allahumma rabba al-samawat al-sab'i wa ma azallat, wa rabba al-aradin al-sab'i wa ma aqallat, wa rabba al-riyahi wa ma adhrat, wa rabba al-shayatini wa ma adallat, inni as'aluka khayraha wa khayra ma fiha, wa a'udhu bika min sharriha wa sharri ma fiha' (O Allah, Lord of the seven heavens and of all that they shade, Lord of the seven earths and of all that they carry, Lord of the winds and of all that they scatter, and Lord of the devils and of all whom they have led astray! I ask You for the good of this town and the good of what is in it, and I seek refuge in You from its evil and the evil of what is in it).
Imam al-Tabarani (may Allah have mercy on him) said: "This hadith is narrated from Sayyiduna Abu Lubabah (may Allah be pleased with him) only with this chain, and Ibrahim bin al-Mustamirr al-Uruqi is alone in transmitting it."
Hadith Referenceالمعجم الأوسط / باب الميم / 7516
Hadith Gradingمحدثین:إسناده حسن
Hadith Takhrij«قال الهيثمي: وإسناده حسن «مجمع الزوائد ومنبع الفوائد، ج 10، ص 134»»