Said wherever you put your bags down
Khawla heard him give it as a general instruction for any place you stay.
إِذَا نَزَلَ أَحَدُكُمْ مَنْزِلاً فَلْيَقُلْ أَعُوذُ بِكَلِمَاتِ اللَّهِ التَّامَّاتِ مِنْ شَرِّ مَا خَلَقَ . فَإِنَّهُ لاَ يَضُرُّهُ شَىْءٌ حَتَّى يَرْتَحِلَ مِنْهُ
Aʿūdhu bi-kalimāti-llāhi-t-tāmmāti min sharri mā khalaq.
“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 stopping place.
The full narration
Khaula bint Hakim Sulamiyya reported:I heard Allah's Messenger (ﷺ) as saying: When any one of you stays at a place, he should say:" I seek refuge in the Perfect Word of Allah from the evil of that He created." Nothing would then do him any harm until he moves from that place. Abu Huraira reported that a person came to Allah's Messenger (ﷺ) and said:" Allah's Messenger, I was stung by a scorpion during the night. Thereupon he said: Had you recited these words in the evening:" I seek refuge in the Perfect Word of Allah from the evil of what He created," it would not have done any harm to you
Source
Ṣaḥīḥ Muslim · 6879
- Agreed upon as authentic (al-Bukhārī / Muslim)