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)
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ مَنْ نَزَلَ مَنْزِلًا ثُمَّ قَالَ أَعُوذُ بِكَلِمَاتِ اللهِ التَّامَّاتِ كُلِّهَا مِنْ شَرِّ مَا خَلَقَ لَمْ يَضُرَّهُ شَيْءٌ حَتَّى يَرْتَحِلَ مِنْ مَنْزِلِهِذَلِكَ