On what one says when one alights at a place

Riyad as-Salihin (The Meadows of the Righteous)

by Imam Nawawi

174. Chapter: On what one says when one alights at a place

982. Khawla bint Hakim said, "I heard the Messenger of Allah, may Allah bless him and grant him peace, say, 'Anyone who alights in a place should say, "I seek refuge with the perfect words of Allah from the evil of what He has created," and then nothing will harm him until he travels on from that place.'" [Muslim]

983. Ibn 'Umar said, "When the Messenger of Allah, may Allah bless him and grant him peace, travelled, and night approached, he would say, 'O earth, my Lord and your Lord is Allah. I seek refuge with Allah from your evil and the evil of what is in You and the evil of what is created in You and the evil of what creeps on You. I seek refuge with Allah from the evil of the lion and the great black snake, and from the snake and the scorpion, and from the jinn who live in the land and from the begetter and what he begets [i.e. Iblis and the shaytans].'" [Abu Dawud]