Suhayb reported, "We used to travel with the Messenger of Allah ﷺ, and whenever he saw a town he intended to enter, he would say three times, 'Allah, bless it for us. Allah, grant us its fruits, protect us from its plagues, endear us to its people, and endear the righteous among its people to us.'"
كنا نسافر مع رسول الله ﷺ فإذا رأى قرية يريد أن يدخلها قال: اللهم بارك لنا فيها ثلاث مرات. اللهم ارزقنا جناها، وجنبنا وباها، وحببنا إلى أهلها، وحبب صالح أهلها إلينا.
No references are available.
Tabarani reported it in Al-Dua (836), and in Al-Awsat (4587, Majma Bahrayn) from Abdul-Rahman bin Husayn Sabuni Tustari, who said, "Abdul-Ala bin Wasil bin Abdul-Ala narrated to us, Ismail bin Subayh Yashkuri narrated to us, Mubarak bin Hassan narrated to us, from Nafi, from Ibn Umar," and he related it. Tabarani said, "No one narrated it from Mubarak except Ismail."I say, Mubarak bin Hassan, who is the Basran, is daif, and Abdul-Rahman Sabuni is someone from whom Tabarani narrated extensively, describing him as a reliable transmitter (mu'addal).There is another route for this from Nafi, which Tabarani reported in Al-Dua (835) from Saeed bin Muslamah, from Muhammad bin Ajlan, from Nafi, from Ibn Umar, from the Prophet ﷺ, that he used to say, "When you leave your lands for a town you intend to reach, then when you catch sight of it say, 'O Allah, Lord of the seven heavens and what they shade, Lord of the seven earths and what they carry, Lord of the winds and what they scatter, Lord of the devils and what they lead astray, Lord of the mountains, I ask You for the good of this place and the good of what is in it, and I seek refuge in You from the evil of what is in it. O Allah, grant us its fruits, turn away from us its plagues, grant us its favor, make us beloved to its people, and make its people beloved to us.'"In its chain of transmission is Saeed bin Muslamah, who is daif. But taking the two routes together, the hadith becomes hasan.