[Machine] The Messenger of Allah ﷺ said: "Listening and obeying is upon the Muslim in what he loves and hates, except if he is commanded to disobey. When he is commanded to disobey, then there is no listening and no obedience." 5335 Abu Ishaq Ibrahim ibn Muhammad ibn Ibrahim al-Isfaraini informed us, Abu Bakr Muhammad ibn Yazdad ibn Mas'ood narrated to us, Muhammad ibn Ayyub al-Razi narrated to us, Musaddad ibn Musarhad narrated to us, Yahya ibn Sa'eed narrated to us from Ubaydullah. He mentioned it in a similar manner, except that he said: unless he is commanded to disobey.
أَنَّ رَسُولَ اللهِ ﷺ قَالَ السَّمْعُ وَالطَّاعَةُ عَلَى الْمَرْءِ الْمُسْلِمِ فِيمَا أَحَبَّ وَكَرِهَ إِلَّا أَنْ يُؤْمَرَ بِمَعْصِيَةٍ فَإِذَا أُمِرَ بِمَعْصِيَةٍ فَلَا سَمْعَ وَلَا طَاعَةَ 5335 وَأَخْبَرَنَا أَبُو إِسْحَاقَ إِبْرَاهِيمُ بْنُ مُحَمَّدِ بْنِ إِبْرَاهِيمَ الْإِسْفَرَايِينِيُّ أنبأ أَبُو بَكْرٍ مُحَمَّدُ بْنُ يَزْدَادَ بْنِ مَسْعُودٍ ثنا مُحَمَّدُ بْنُ أَيُّوبَ الرَّازِيُّ ثنا مُسَدَّدُ بْنُ مُسَرْهَدٍ ثنا يَحْيَى بْنُ سَعِيدٍ عَنْ عُبَيْدِ اللهِ فَذَكَرَهُ بِمِثْلِهِ إِلَّا أَنَّهُ قَالَ مَا لَمْ يُؤْمَرْ بِمَعْصِيَةٍ