Narrated Abdullah ibn Abbas: The Prophet (ﷺ) said: The best number of companions is four, the best number in expeditions four hundred, and the best number in armies four thousand; and twelve thousand will not be overcome through smallness of numbers. Abu Dawud said: What is correct is that this tradition is mursal (i.e. the link of the Companion is missing)
Hadith No. 2611
Sunan Abu Dawud
Gradings:
Al-Albani:
Sahih
Muhammad Muhyi Al-Din Abdul Hamid:
Sahih
Shuaib Al Arnaut:
Daif
Zubair Ali Zai:
Daif