When the Messenger of Allah ﷺ was travelling and night came on, he said: O earth, my Lord and your Lord is Allah; I seek refuge in Allah from your evil, the evil of what you contain, the evil of what has been created in you, and the evil of what creeps upon you; I seek refuge in Allah from lions, from large black snakes, from other snakes, from scorpions, from the evil of jinn which inhabit a settlement, and from a parent and his offspring. (Using translation from Abū Dāʾūd 2603)
كَانَ رَسُولُ اللهِ ﷺ إِذَا سَافَرَ فَأَقْبَلَ اللَّيْلُ قَالَ «يَا أَرْضُ رَبِّي وَرَبُّكِ اللهُ أَعُوذُ بِاللهِ مِنْ شِرِّكِ وَمِنْ شَرِّ مَا فِيكِ وَشَرِّ مَا خَلَقَ فِيكِ وَشَرِّ مَا يَدِبُّ عَلَيْكِ أَعُوذُ بِكَ مِنْ أَسَدٍ وَأَسْوَدٍ مِنَ الْحَيَّةِ وَالْعَقْرَبِ وَمَنْ سَاكِنِ الْبَلَدِ وَمَنْ وَالِدٍ وَمَا وَلَدٍ» قَالَ أَبُو عَبْدِ الرَّحْمَنِ الزُّبَيْرُ بْنُ الْوَلِيدِ شَامِيٌّ مَا أَعْرِفُ لَهُ غَيْرَ هَذَا الْحَدِيثِ