Compiled by Imam Yahya ibn Sharaf al-Nawawi
وعن أبي ثعلبة الخشني، رضي الله عنه، قال: كان الناس إذا نزلوا منزلاً تفرقوا في الشعاب والأودية. فقال رسول الله، صلى الله عليه وسلم : "إن تفرقكم في هذه الشعاب والأودية إنما ذلكم من الشيطان!" فلم ينزلوا بعد ذلك منزلا إلا انضم بعضهم إلي بعض. ((رواه أبو داود بإسناد حسن)).
Whenever the people encamped during the journey, they would disperse in the mountain passes and valleys. (When) the Messenger of Allah (ﷺ) noticed this he said, "Your act of scattering in the mountain passes and valleys is from Satan." Afterwards the Companions kept close together whenever they encamped.[Abu Dawud].