ENOfficial
Narrated AbuHurayrah: The Prophet (ﷺ) said: When three are on a journey, they should appoint one of them as their commander. Nafi' said: We said to AbuSalamah: You are our commander.
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا عَلِيُّ بْنُ بَحْرٍ، حَدَّثَنَا حَاتِمُ بْنُ إِسْمَاعِيلَ، حَدَّثَنَا مُحَمَّدُ بْنُ عَجْلاَنَ، عَنْ نَافِعٍ، عَنْ أَبِي سَلَمَةَ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " إِذَا كَانَ ثَلاَثَةٌ فِي سَفَرٍ فَلْيُؤَمِّرُوا أَحَدَهُمْ " . قَالَ نَافِعٌ فَقُلْنَا لأَبِي سَلَمَةَ فَأَنْتَ أَمِيرُنَا .
sunnah.com