Umm Husayn reported,

I performed the Farewell Pilgrimage with the Messenger of Allah ﷺ. The Messenger of Allah ﷺ spoke at length, and then I heard him say, "If a mutilated slave," (I think she said, "a black slave") "is placed in authority over you and leads you according to the Book of Allah, then listen to him and obey."

Azami 7623

Sahih

عن أم الحصين قالت

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

الأعظمي 7623صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Leadership
Section
Obligation of obeying those in authority in matters that are not disobedience to Allah
Numbering
Jami al-Kamil 7623 (2nd edition)
Azami 7623