I heard the Messenger of Allah ﷺ say, "If a slave is appointed over you who leads you according to the Book of Allah, listen to him and obey."
حدثنا يحيى بن سعيد عن شعبة حدثناه
سمعت رسول الله ﷺ يقول لو استعمل عليكم عبد يقودكم بكتاب الله فاسمعوا له وأطيعوا