وعن أَبي ثَعْلَبَةَ الخُشَنِيِّ - رضي الله عنه - قَالَ: كَانَ النَّاسُ إِذَا نَزَلُوا مَنْزِلًا تَفَرَّقُوا في الشِّعَابِ وَالأوْدِيَةِ. فَقَالَ رسولُ الله - صلى الله عليه وسلم: «إنَّ تَفَرُّقكُمْ فِي هذِهِ الشِّعَابِ وَالأوْدِيَةِ إنَّمَا ذلِكُمْ مِنَ الشَّيْطَانِ!» فَلَمْ يَنْزِلُوا بَعْدَ ذَلِكَ مَنْزِلًا إِلاَّ انْضَمَّ بَعْضُهُمْ إِلَى بَعْضٍ. رواه أَبُو داود بإسناد حسن.
It is narrated from Sayyiduna Abu Tha'labah al-Khushani (may Allah be pleased with him) that he said: When people halted at a place, they would scatter in the mountain passes and valleys. So the Messenger of Allah (peace and blessings be upon him) said: "Your scattering in these mountain passes and valleys is only from Satan." Thereafter, whenever they halted at a place, they stayed close to one another.
(Narrated by Abu Dawud with a hasan chain)
Related hadith on this topic
Explanation & Benefits
Shaykh Umar Farooq Saeedi
Benefits and Issues:
There are both apparent and spiritual benefits for the mujahideen and travelers in staying close to one another.
However, it should not be to such an extent that they become so crowded together
that they cause harm to one another,
as is mentioned in the following ahadith.
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 2628