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 until he departs from that place."
سمعت رسول الله ﷺ يقول: من نزل منزلا ثم قال: أعوذ بكلمات الله التامات من شر ما خلق لم يضره شئ حتى يرتحل من منزله ذلك.
Muslim narrated it in the Book of Remembrance and Supplication (2708) through several routes from Layth (that is, Ibn Saad), from Yazid bin Abu Habib, from Harith bin Yaqub, that Yaqub bin Abdullah told him that he heard Busr bin Saeed say, "I heard Saad bin Abu Waqqas say, 'I heard Khawla bint Hakeem al-Sulamiyyah say...'" and he related it.