عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ: ((إِذَا سِرْتُمْ فِي الْخِصْبَ فَأَمْكِنُوا الرِّكَابَ أَسْنَانَهَا وَلَا تُجَاوِزُوا الْمَنَازِلَ، وَإِذَا سِرْتُمْ فِي الْجَدْبِ فَاسْتَجِدُّوا وَعَلَيْكُمْ بِالدَّلَجِ فَإِنَّ الْأَرْضَ تُطْوَى بِاللَّيْلِ، وَإِذَا تَغَوَّلَتْ لَكُمُ الْغِيْلَانُ فَنَادُوا بِالْأَذَانِ، وَإِيَّاكُمْ وَالصَّلَاةَ عَلَى جَوَادِّ الطَّرِيقِ وَالنُّزُولَ عَلَيْهَا، فَإِنَّهَا مَأْوَى الْحَيَّاتِ وَالسِّبَاعِ، وَقَضَاءَ الْحَاجَةِ فَإِنَّهَا الْمَلَاعِنُ))
It is narrated from Sayyiduna Jabir bin Abdullah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: When you travel through lush and green land, let your mounts graze, and do not go beyond the (resting) stations of travelers. When you travel through barren land, move quickly and travel at night, for the earth is folded up at night. And when sorcerer jinn appear in various colors and forms to mislead people from the path, then call the adhan. Avoid praying and camping in the middle of the road, for at night these are the abodes of wild beasts and snakes, etc. Also, avoid urinating or defecating on the road, for this act becomes a cause of curse.