I heard Messenger of Allah ﷺ as saying: When anyone lands at a place, and then says:" I seek refuge in the Perfect Word of Allah from the evil of what He has created," nothing would harm him until he marches from that stopping place. (Using translation from Muslim 2708a)
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ مَنْ نَزَلَ مَنْزِلًا فَقَالَ أَعُوذُ بِكَلِمَاتِ اللهِ التَّامَّاتِ مِنْ شَرِّ مَا خَلَقَ لَمْ يَضُرَّهُ فِيهِ شَيْءٌ حَتَّى يَرْتَحِلَ مِنْهُ