Riyad as-SalihinChapter 7Hadith 282
Full Sharh — Riyad as-Salihin 282
وعن ابن عباس رضي الله عنهما عن النبي صلى الله عليه وسلم قال: “خير الصحابة أربعة وخير السرايا أربعمائة وخير الجيوش أربعة آلاف ولن يغلب اثنا عشر ألفاً عن قلة" ((رواه أبو داود والترمذي وقال: حديث حسن))
English Translation
Ibn 'Abbas (May Allah be pleased with them) reported:: The Prophet (ﷺ) said, "The best number of companions is four; the best detachment is four hundred and the best army is four thousand; and twelve thousand men will not be defeated as a result of smallness of number.".
Source
Riyad as-Salihin(رياض الصالحين)
The Book of Etiquette of Traveling
Hadith Number
282