Abdullah bin Umar reported,

The Messenger of Allah ﷺ dispatched an expedition and placed Usama bin Zayd in command. Some people criticized his appointment, so the Messenger of Allah ﷺ stood up and said, "If you criticize his command now, you also criticized the command of his father before him. By Allah, he was truly worthy of command and was among the dearest of people to me, and this one is among the dearest of people to me after him."

Azami 7845

Sahih

عن ابن عمر قال

بعث رسول الله ﷺ بعثا، وأمر عليهم أسامة بن زيد، فطعن الناس في إمرته، فقام رسول الله ﷺ فقال: إن تطعنوا في إمرته فقد كنتم تطعنون في إمرة أبيه من قبل، وأيم الله إن كان لخليقا للإمرة، وإن كان لمن أحب الناس إلي، وإن هذا لمن أحب الناس إلي بعده.

الأعظمي 7845صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Jihad
Chapter
Rulings on jihad and its etiquette
Section
Imam appoints as commander of the army whoever is most suitable for it
Numbering
Jami al-Kamil 7845 (2nd edition)
Azami 7845