Hadithcore
Mishkat al-Masabih, 3911

Abu Sa'id al-Khudri reported God’s Messenger as saying, "When three are on a journey they should appoint one of them as their commander.” Abu Dawud transmitted it.

وَعَنْ أَبِي سَعِيدٍ الْخُدْرِيُّ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «إِذَا كَانَ ثَلَاثَةٌ فِي سَفَرٍ فَلْيُؤَمِّرُوا أحدهم» . رَوَاهُ أَبُو دَاوُد

References1 variant
In-Book Reference
Book 19, Hadith 123