Muhammad bin Sirin said: Al-Hakam bin Amr al-Ghifari and Sayyiduna Imran bin Husayn (may Allah be pleased with them both) met, and one of them said to the other: Do you remember the day when the Messenger of Allah (peace and blessings be upon him) said: "There is no obedience to anyone in disobedience to Allah"? He said: Allahu akbar.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 15526