Abu Sa'id Al-Khudri and Abu Hurairah (May Allah be pleased with them) reported:
The Messenger of Allah (ﷺ) said, "When three persons set out on a journey, they should appoint one of them as their leader."[Abu Dawud]. (ID)
App reference (ID): Book 8, Hadith 5 (ID)
Arabic/English book reference (ID): Book 8, Hadith 960 (ID)