The author - may Allah shower blessings on him - said in his book, Riyaadus Saaliheen: 'Chapter on the desirability of undertaking a journey in a group and appointing a leader.' This chapter comprises of two issues:
The first: one should undertake a journey as a member of a group and not travel alone. Hence, the Prophet ﷺ said: 'Were people to know of what I know about the dangers of travelling alone, no rider would travel alone at night.' That is, it is not appropriate for a person to travel alone. He may be hit by an illness, lose consciousness, overpowered, ambushed or come across other dreadful things. This could happen to him and there would be no one to protect him or give information about him among other things. This affects solo journeys.
However, travelling alone on roads which are continuously frequented, such that there is always a car passing by, is not considered a solo journey. This is because the roads today are not desolate due to the presence of others. In addition, there are cities along the routes, hence they do not come under this prohibition.
Thereafter, the Prophet ﷺ explained in the hadeeth of Amr bin Shu'aib - may Allah be pleased with him - that a single rider is a devil, two riders are two devils and three riders make a company. That is, whoever travels alone is a devil, two people travelling together are two devils, and three riders form a group. This discourages traveling alone
or as a pair of two. But there is no harm in a group of three persons. As I have mentioned before, this has to do with journeys where there are no regular movement of people along the route.
Thereafter, he- may Allah shower blessings on him- mentioned the hadeeth of Aboo Sa'eed and Aboo Hurairah that the Messenger ﷺ ordered travelers to appoint a leader when they proceed on a journey. That is, they should appoint one of them as the leader to direct their affairs. Otherwise, their affairs will be in disarray. Hence, it is commonly said: 'The disarray due to lack of a leader does not benefit a people, appointing someone to direct their affairs is necessary.'
The apparent meaning of this hadeeth is that when they are pleased with his leadership, they have to obey him in matters associated with the trip because he is the leader. However, it is not compulsory for them to obey him in matters not associated with the journey such as personal matters. This does not mean that this leader should be despotic: rather, he should be as Allah, Blessed and Exalted, said:
“So pass over (their faults), and ask (Allah's) Forgiveness for them; and consult them in the affairs.”(Al-Imran: 159)
He should consult them regarding ambiguous matters and should not be repressive, imposing his view. There is no need for consultation in clear matters.
Allah alone grants success.