He said to Hakam bin Amr al-Ghifari, "Did you hear the Messenger of Allah ﷺ say, 'There is no obedience owed to anyone in disobedience to Allah'?"He replied, "Yes."Imran said, "Praise be to Allah," or, "Allah is the Greatest."
أنه قال للحكم بن عمرو الغفاري: أسمعت رسول الله ﷺ يقول: لا طاعة لأحد في معصية الله تبارك وتعالى قال: نعم فقال عمران: الله الحمد أو الله أكبر.
Ahmad narrated it (20654) from Bahz, who said, Sulayman bin Mughira narrated to us, Humayd - meaning Ibn Hilal - narrated to us, from Abdullah bin Samit, who said, Ziyad wanted to send Imran bin Husayn to govern Khurasan, but he refused. His companions said to him, "Would you leave Khurasan without being its governor?" He said, "By Allah, it would not please me to bear its heat while you enjoy its coolness. I fear that while I am facing the enemy, a letter would come to me from Ziyad, and if I advanced I would perish, and if I retreated my neck would be struck."He said, So he wanted to appoint Hakam bin Amr Ghifari over it, and he submitted to his command. Imran then said, "Will someone call Hakam for me?" So the messenger went, and Hakam came to him and entered upon him, and Imran said to Hakam what he then related.Harith bin Abu Usama narrated it, as found in Bughyah (603), from Abu Nadr Hashim bin Qasim, from Sulayman, with similar wording, in abridged form. Its isnad is sahih.Ahmad narrated it (20659), and Hakim (3/443), through chains going back to Hasan, that Ziyad had appointed Hakam Ghifari over an army. Imran bin Husayn came to him and met him among the people and said, "Do you know why I came to you?" He said, "Why?" He said, "Do you remember the statement of the Messenger of Allah ﷺ about the man whose commander told him, 'Throw yourself into the fire,' but he came to his senses and held back, and this was reported to the Prophet ﷺ, so he said, 'Had he thrown himself into it, they would both have entered the Fire together. There is no obedience in disobedience to Allah '?" He said, "Yes." He said, "I only wanted to remind you of this hadith."Hakim said, "This is a hadith with a sahih isnad, though they [Bukhari and Muslim] did not narrate it." I say, Hasan Basri did not hear from Imran bin Husayn, as Ibn Madini, Abu Hatim Razi, and others have stated. See Marasil by Ibn Abu Hatim (pp. 38-39).Ahmad narrated it (20656, 20658, 19880, 20653, 20661, 19824, 19832) through other routes, with some minor discussion concerning them.