The Book on Government
33/8. Chapter:
The obligation of obeying leaders in matters that do not involve sin, but it is forbidden to obey them in sinful matters
Sahih Muslim
وَحَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ بِشْرٍ، حَدَّثَنَا بَهْزٌ، حَدَّثَنَا شُعْبَةُ، بِهَذَا الإِسْنَادِ وَلَمْ يَذْكُرْ حَبَشِيًّا مُجَدَّعًا وَزَادَ أَنَّهَا سَمِعَتْ رَسُولَ اللَّهِ صلى الله عليه وسلم بِمِنًى أَوْ بِعَرَفَاتٍ .
Another version of the tradition does not qualify the slave with the epithets" maimed,"" an Abyssinian" but makes the addition: " I have heard the Prophet (ﷺ) (say this) at Mina or 'Arafat."
Reference : Sahih Muslim 1838dIn-book reference : Book 33, Hadith 59USC-MSA web (English) reference : Book 20, Hadith 4531