Mishkat al-Masabih
Mishkat al-Masabih 3665
Arabic hadith text
وَعَنْ عَلِيٍّ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا طَاعَةَ فِي مَعْصِيَةٍ إِنَّمَا الطَّاعَةُ فِي الْمَعْرُوف»
Translation
Ali, may God be pleased with him, reported that the Messenger of God said: There is no obedience in an act of disobedience. Obedience is only in what is right.
Translation notes
The Arabic entry as supplied has no collection attribution.