Ibn ‘Umar reported God’s Messenger as saying, “Hearing and obeying are the duty of a Muslim man both regarding what he likes and what he dislikes, as long as he is not commanded to perform an act of disobedience to God, in which case he must neither hear nor obey.”
‘Ali reported God’s Messenger as saying, “No obedience is to be given in the case of an act of disobedience to God, obedience is to be given only regarding what is reputable.”
Umm al-Husain reported God’s Messenger as saying, “If a slave who has been mutilated is made your commander and leads you in accordance with God’s Book, listen to him and obey.”