Malik related to me from a reliable source of his from Yaqub ibn Abdullah al-Ashajj from Bushr ibn Said from Sad ibn Abi Waqqas from Khawla bint Hakim that the Messenger of Allah ﷺ said, "Whoever dismounts to rest in a place should say, 'I seek refuge with the complete words of Allah from the evil of what he created,' (audhu bi kalimati-llahi at-tammati min sharri ma khalaqa), and nothing will harm him until he remounts."
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ مَنْ نَزَلَ مَنْزِلاً فَلْيَقُلْ أَعُوذُ بِكَلِمَاتِ اللَّهِ التَّامَّاتِ مِنْ شَرِّ مَا خَلَقَ فَإِنَّهُ لَنْ يَضُرَّهُ شَىْءٌ حَتَّى يَرْتَحِلَ