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]. (ES)
App reference (ES): Book 8, Hadith 5 (ES)
Arabic/English book reference (ES): Book 8, Hadith 960 (ES)