I heard the Messenger of Allah ﷺ say, "Whoever stops at a place and says, 'I seek refuge in the perfect words of Allah from the evil of what He has created,' nothing will harm him at that place until he departs from it."
حدثنا يحيى بن إسحاق قال أخبرنا ابن لهيعة عن يزيد بن أبي حبيب عن الحارث بن يعقوب عن يعقوب بن الأشج عن عامر بن سعد عن سعد
سمعت رسول الله ﷺ يقول من نزل منزلا فقال أعوذ بكلمات الله التامات من شر ما خلق لم يضره فيه شيء حتى يرتحل منه