Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tabarani:19196Abū Shuʿayb ʿAbdullāh b. al-Ḥasan al-Ḥarrānī > Abū Jaʿfar al-Nufaylī > Muḥammad b. Salamah > Muḥammad b. Isḥāq > a freed slave of Lahum > ʿAṭāʾ b. Abū Marwān al-Aslamī > Abū Muʿattib b. ʿAmr

[Machine] When the Messenger of Allah ﷺ approached Khaybar, he said to his companions, "Stop here." Then he said, "O Allah, Lord of the heavens and what they shade, Lord of the earth and what it carries, Lord of the devils and what they misguide, Lord of the winds and what they scatter, I ask You for the goodness of this town and the goodness of its people, and I seek refuge with You from its evil and the evil of its people and the evil that is within it. In the name of Allah, advance." He used to say this upon entering every town.  

الطبراني:١٩١٩٦حَدَّثَنَا أَبُو شُعَيْبٍ عَبْدُ اللهِ بْنُ الْحَسَنِ الْحَرَّانِيُّ ثنا أَبُو جَعْفَرٍ النُّفَيْلِيُّ ثنا مُحَمَّدُ بْنُ سَلَمَةَ عَنْ مُحَمَّدِ بْنِ إِسْحَاقَ قَالَ حَدَّثَنِي مَوْلًى لَهُمْ عَنْ عَطَاءِ بْنِ أَبِي مَرْوَانَ الْأَسْلَمِيِّ عَنْ أَبِي مُعَتِّبِ بْنِ عَمْرٍو

أَنَّ رَسُولَ اللهِ ﷺ لَمَّا أَشْرَفَ عَلَى خَيْبَرَ قَالَ لِأَصْحَابِهِ وَأَنَا فِيهِمْ «قِفُوا» ثُمَّ قَالَ «اللهُمَّ رَبَّ السَّماوَاتِ وَمَا أَظْلَلْنَ وَرَبِّ الْأَرَضِينَ وَمَا أَقْلَلْنَ وَرَبِّ الشَّيَاطِينِ وَمَا أَضْلَلْنَ وَرَبِّ الرِّيَاحِ وَمَا ذَرَيْنَ أَسْأَلُكُ خَيْرَ هَذِهِ الْقَرْيَةِ وَخَيْرَ أَهْلِهَا وَأَعُوذُ بِكَ مِنْ شَرِّهَا وَشَرِّ أَهْلِهَا وَشَرِّ مَا فِيهَا قَدِّمُوا بِسْمِ اللهِ» وَكَانَ يَقُولُهَا لِكُلِّ قَرْيَةٍ يَدْخُلُهَا  


See similar narrations below:

Collected by Ḥākim, Ibn Ḥibbān, Ṭabarānī, Nasāʾī's Kubrá
hakim:2488Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Muḥammad b. ʿAbdullāh b. ʿAbd al-Ḥakam > Ibn Wahb > Ḥafṣ b. Maysarah > Mūsá b. ʿUqbah > ʿAṭāʾ b. Abū Marwān from his father > Kaʿb

[Machine] "Suhaib, the companion of the Prophet ﷺ , narrated that the Prophet ﷺ never saw a village that he intended to enter without saying, 'O Allah, Lord of the Seven Heavens and Lord of the Earth and all that they shade, Lord of the Devils and all that they lead astray, Lord of the Winds and all that they scatter, we ask You for the goodness of this village and the goodness of its inhabitants, and seek refuge in You from its evil and the evil of its inhabitants and what is within it.'"  

الحاكم:٢٤٨٨حَدَّثَنَا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ أَنْبَأَ مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ عَبْدِ الْحَكَمِ أَنْبَأَ ابْنُ وَهْبٍ أَخْبَرَنِي حَفْصُ بْنُ مَيْسَرَةَ عَنْ مُوسَى بْنِ عُقْبَةَ عَنْ عَطَاءِ بْنِ أَبِي مَرْوَانَ عَنْ أَبِيهِ أَنَّ كَعْبًا حَدَّثَهُ

أَنَّ صُهَيْبًا صَاحِبَ النَّبِيِّ ﷺ حَدَّثَهُ أَنَّ النَّبِيَّ ﷺ لَمْ يَرَ قَرْيَةً يُرِيدُ دُخُولَهَا إِلَّا قَالَ حِينَ يَرَاهَا «اللَّهُمَّ رَبَّ السَّمَاوَاتِ السَّبْعِ وَمَا أَظْلَلْنَ وَرَبَّ الْأَرَضِينَ السَّبْعِ وَمَا أَقْلَلْنَ وَرَبَّ الشَّيَاطِينِ وَمَا أَضْلَلْنَ وَرَبَّ الرِّيَاحِ وَمَا ذَرَيْنَ فَإِنَّا نَسْأَلُكَ خَيْرَ هَذِهِ الْقَرْيَةِ وَخَيْرَ أَهْلِهَا وَنَعُوذُ بِكَ مِنْ شَرِّهَا وَشَرِّ أَهْلِهَا وَشَرِّ مَا فِيهَا»  

هَذَا حَدِيثٌ صَحِيحُ الْإِسْنَادِ وَلَمْ يُخَرِّجَاهُ صحيح
hakim:1634Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Baḥr b. Naṣr al-Khawlānī > ʿAbdullāh b. Wahb > Ḥafṣ b. Maysarah > Mūsá b. ʿUqbah > ʿAṭāʾ b. Abū Marwān from his father > Kaʿb

[Machine] Suhaib, the companion of the Prophet ﷺ , reported that the Prophet ﷺ said whenever he wanted to enter a town, he would say upon seeing it, "O Allah, Lord of the seven heavens and what they overshadow, Lord of the seven earths and what they contain, Lord of the devils and what they lead astray, Lord of the winds and what they scatter. We ask You for the goodness of this town and the goodness of its people, and seek refuge in You from its evil and the evil of its people and the evil within it."  

الحاكم:١٦٣٤حَدَّثَنَا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا بَحْرُ بْنُ نَصْرٍ الْخَوْلَانِيُّ ثنا عَبْدُ اللَّهِ بْنُ وَهْبٍ أَخْبَرَنِي حَفْصُ بْنُ مَيْسَرَةَ عَنْ مُوسَى بْنِ عُقْبَةَ عَنْ عَطَاءِ بْنِ أَبِي مَرْوَانَ عَنْ أَبِيهِ أَنَّ كَعْبًا حَدَّثَهُ

أَنَّ صُهَيْبًا صَاحِبَ النَّبِيِّ ﷺ حَدَّثَهُ أَنَّ النَّبِيَّ ﷺ لَمْ يَرَ قَرْيَةً يُرِيدُ دُخُولَهَا إِلَّا قَالَ حِينَ يَرَاهَا «اللَّهُمَّ رَبَّ السَّمَاوَاتِ السَّبْعِ وَمَا أَظْلَلْنَ وَرَبَّ الْأَرَضِينَ السَّبْعِ وَمَا أَقْلَلْنَ وَرَبَّ الشَّيَاطِينِ وَمَا أَضْلَلْنَ وَرَبَّ الرِّيَاحِ وَمَا ذَرَيْنَ فَإِنَّا نَسْأَلُكَ خَيْرَ هَذِهِ الْقَرْيَةِ وَخَيْرَ أَهْلِهَا وَنَعُوذُ بِكَ مِنْ شَرِّهَا وَشَرِّ أَهْلِهَا وَشَرِّ مَا فِيهَا»  

هَذَا حَدِيثٌ صَحِيحُ الْإِسْنَادِ وَلَمْ يُخَرِّجَاهُ

ذِكْرُ مَا يَقُولُ الْمُسَافِرُ إِذَا رَأَى قَرْيَةً يُرِيدُ دُخُولَهَا

ibnhibban:2709Muḥammad b. al-Ḥasan b. Qutaybah > Ibn Abū al-Sarī > Quriʾ > Ḥafṣ b. Maysarah > Mūsá b. ʿUqbah > ʿAṭāʾ b. Abū Marwān from his father > Kaʿb Ḥalaf Lah Bi-al--Adhī Falaq al-Baḥr Limūsá > Ṣuhayb

[Machine] Ka'ab swore to him by the One who split the sea for Musa that Suhaib told him that the Messenger of Allah ﷺ would not see a town he wanted to enter except that he would say when he saw it: "O Allah, Lord of the seven heavens and what they shade, Lord of the seven earths and what they contain, Lord of the winds and what they scatter, Lord of the devils and what they lead astray, we ask You for the good of this town and the good of its people, and seek refuge in You from its evil and the evil of its people and from the evil therein."  

ابن حبّان:٢٧٠٩أَخْبَرَنَا مُحَمَّدُ بْنُ الْحَسَنِ بْنِ قُتَيْبَةَ قَالَ حَدَّثَنَا ابْنُ أَبِي السَّرِيِّ قَالَ قُرِئَ عَلَى حَفْصِ بْنِ مَيْسَرَةَ وَأَنَا أَسْمَعُ قَالَ حَدَّثَنِي مُوسَى بْنُ عُقْبَةَ عَنْ عَطَاءِ بْنِ أَبِي مَرْوَانَ عَنْ أَبِيهِ

أَنَّ كَعْبًا حَلَفَ لَهُ بِالَّذِي فَلَقَ الْبَحْرَ لِمُوسَى أَنَّ صُهَيْبًا حَدَّثَهُ أَنَّ رَسُولَ اللَّهِ ﷺ لَمْ يَكُنْ يَرَى قَرْيَةً يُرِيدُ دُخُولَهَا إِلَّا قَالَ حِينَ يَرَاهَا «اللَّهُمَّ رَبَّ السَّمَاوَاتِ السَّبْعِ وَمَا أَظْلَلْنَ وَرَبَّ الْأَرَضِينَ السَّبْعِ وَمَا أَقْلَلْنَ وَرَبَّ الرِّيَاحِ وَمَا ذَرَيْنَ وَرَبَّ الشَّيَاطِينِ وَمَا أَضْلَلْنَ نَسْأَلُكَ خَيْرَ هَذِهِ الْقَرْيَةِ وَخَيْرَ أَهْلِهَا وَنَعُوذُ بِكَ مِنْ شَرِّهَا وَشَرِّ أَهْلِهَا وَشَرِّ مَا فِيهَا»  

tabarani:7299[Chain 1] ʿUbaydullāh b. Muḥammad al-ʿUmarī al-Qāḍī > Ismāʿīl b. Abū Ūways [Chain 2] Sūwayd b. Saʿīd > Ḥafṣ b. Maysarah > Mūsá b. ʿUqbah > ʿAṭāʾ b. Abū Marwān from his father > Kaʿb Ḥalaf Bi-al-Lh al--Adhī Falaq al-Baḥr Limūsá > Ṣuhayb > Rasūl Allāh Ṣallá

[Machine] That Ka'b swore by Allah, who split the sea for Moses, that Suhaib told him that the Messenger of Allah (peace and blessings be upon him) never saw a village that he intended to enter except that he would say when he saw it, "O Allah, Lord of the seven heavens and whatever they shade, Lord of the seven earths and whatever they contain, Lord of the devils and whatever they misguide, Lord of the winds and whatever they scatter. We ask You for the goodness of this village and the goodness of its people, and seek refuge in You from its evil and the evil of its people."  

الطبراني:٧٢٩٩حَدَّثَنَا عُبَيْدُ اللهِ بْنُ مُحَمَّدٍ الْعُمَرِيُّ الْقَاضِي ثنا إِسْمَاعِيلُ بْنُ أَبِي أُوَيْسٍ ح وحَدَّثَنَا الْقَاسِمُ بْنُ عَبَّادٍ الْخَطَّابِيُّ الْبَصْرِيُّ ثنا سُوَيْدُ بْنُ سَعِيدٍ قَالَا ثنا حَفْصُ بْنُ مَيْسَرَةَ عَنْ مُوسَى بْنِ عُقْبَةَ عَنْ عَطَاءِ بْنِ أَبِي مَرْوَانَ عَنْ أَبِيهِ

أَنَّ كَعْبًا حَلَفَ بِاللهِ الَّذِي فَلَقَ الْبَحْرَ لِمُوسَى أَنَّ صُهَيْبًا حَدَّثَهُ أَنَّ رَسُولَ اللهِ ﷺ لَمْ يَرَ قَرْيَةً يُرِيدُ دُخُولَهَا إِلَّا قَالَ حِينَ يَرَاهَا «اللهُمَّ رَبَّ السَّمَاوَاتِ السَّبْعِ وَمَا أَظْلَلْنَ وَرَبَّ الْأَرَضِينَ السَّبْعِ وَمَا أَقْلَلْنَ وَرَبَّ الشَّيَاطِينِ وَمَا أَضْلَلْنَ وَرَبَّ الرِّيَاحِ وَمَا ذَرَيْنَ إِنَّا نَسْأَلُكَ خَيْرَ هَذِهِ الْقَرْيَةِ وَخَيْرَ أَهْلِهَا وَنَعُوذُ بِكَ مِنْ شَرِّهَا وَشَرِّ أَهْلِهَا»  

nasai-kubra:8776ʿAmr b. Sawād b. al-Aswad b. ʿAmr > Wahb > Ḥafṣ b. Maysarah > Mūsá b. ʿUqbah > ʿAṭāʾ b. Abū Marwān from his father > Kaʿb

[Machine] Suhaib, a companion of the Prophet ﷺ , narrated that the Prophet ﷺ would say upon seeing a village he wanted to enter, "O Allah, Lordof the seven heavens and what they shade, Lord of the seven earths and what they contain, Lord of the devils and what they mislead, Lord of the winds and what they scatter. Indeed, we ask You for the good of this village and the good of its people, and seek refuge in You from its evil and the evil of its people and the evil within it."  

الكبرى للنسائي:٨٧٧٦أَخْبَرَنَا عَمْرُو بْنُ سَوَادِ بْنِ الْأَسْوَدِ بْنِ عَمْرٍو قَالَ أَخْبَرَنَا وَهْبٌ قَالَ أَخْبَرَنِي حَفْصُ بْنُ مَيْسَرَةَ عَنْ مُوسَى بْنِ عُقْبَةَ عَنْ عَطَاءِ بْنِ أَبِي مَرْوَانَ عَنْ أَبِيهِ أَنَّ كَعْبًا حَدَّثَهُ

أَنَّ صُهَيْبًا صَاحِبَ النَّبِيِّ ﷺ حَدَّثَهُ أَنَّ النَّبِيَّ ﷺ لَمْ يَرَ قَرْيَةً يُرِيدُ دُخُولَهَا إِلَّا قَالَ حِينَ يَرَاهَا «اللهُمَّ رَبَّ السَّمَوَاتِ السَّبْعِ وَمَا أَظْلَلْنَ وَرَبَّ الْأَرْضِينَ السَّبْعِ وَمَا أَقْلَلْنَ وَرَبَّ الشَّيَاطِينِ وَمَا أَضْلَلْنَ وَرَبَّ الرِّيَاحِ ومَا ذَرَيْنَ فَإِنَّا نَسْأَلُكَ خَيْرَ هَذِهِ الْقَرْيَةِ وَخَيْرَ أَهْلِهَا وَنَعُوذُ بِكَ مِنْ شَرِّهَا وَشَرِّ أَهْلِهَا وَشَرِّ مَا فِيهَا»