Dua When Entering a Town or City
اَللّٰهُمَّ رَبَّ السَّمٰوَاتِ السَّبْعِ وَمَا أَظْلَلْنَ ، وَرَبَّ الْأَرْضِيْنَ السَّبْعِ وَمَا أَقْلَلْنَ ، ورَبَّ الشَّيَاطِيْنِ وَمَا أَضْلَلْنَ ، ورَبَّ الرِّيَاحِ وَمَا ذَرَيْنَ ، أَسْأَلُكَ خَيْرَ هٰذِهِ الْقَرْيَةِ وَخَيْرَ أَهْلِهَا وَخَيْرَ مَا فِيْهَا ، وأَعُوْذُ بِكَ مِنْ شَرِّهَا وَشَرِّ أَهْلِهَا وَشَرِّ مَا فِيْهَا
Translation :
O Allah, Lord of the seven heavens and all that they shade, Lord of the seven earths and all that they carry, Lord of the devils and all that they lead astray, Lord of the winds and all that they scatter, I ask You for the good of this town, the good of its people, and whatever good is in it; and I seek Your protection from the evil of this town, the evil of its people, and whatever evil is in it.
Transliteration :
Allāhumma Rabba-s-samāwāti-s-sabʿi wa mā aẓlaln, wa Rabba-l-arḍīna-s-sabʿi wa mā aqlaln, wa Rabba-sh-shayāṭīni wa-mā aḍlaln, wa Rabba-r-riyaḥi wa mā dharayn, as’aluka khayra hadhihi-l-qaryati wa khayra ahlihā wa khayra mā fīhā, wa aʿūdhu bika min sharrihā wa sharri ahlihā wa sharri mā fīhā.
Hadith:
Ṣuhayb (raḍiy Allāhu ‘anhu) narrates that the Messenger of Allah ﷺ never saw a vicinity he wanted to enter except that he said [the above]. (Nasā’ī in al-Sunan al-Kubrā 5/256, Ibn al-Sunnī 524)