The reciter: Muhammad ibn al-Muthanna and Ibn Bashar narrated to us, and the wording is that of Ibn al-Muthanna. They said: Muhammad ibn Ja'far narrated to us, and Shu'bah narrated to us from Zubayd from Sa'd ibn 'Ubaydah from Abu 'Abd al-Rahman from 'Ali,
The Messenger of Allah (ﷺ) sent out an army and appointed a man in charge of them. He lit a fire and said: Enter it. Some people wanted to enter it, but others said: This is what we wanted to flee from. That was mentioned to the Messenger of Allah (ﷺ) and he said to those who had wanted to enter it: “If you had entered it you would have remained in it until the Day of Resurrection.” He said some kind words to the others, then he said: `There is no obedience in that which involves disobedience towards Allah; obedience is only with regard to that which is right and proper.`
أَنَّ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ بَعَثَ جَيْشًا، وَأَمَّرَ عَلَيْهِمْ رَجُلًا، فَأَوْقَدَ نَارًا، وَقَالَ : ادْخُلُوهَا، فَأَرَادَ نَاسٌ أَنْ يَدْخُلُوهَا، وَقَالَ الْآخَرُونَ : إِنَّا قَدْ فَرَرْنَا مِنْهَا، فَذُكِرَ ذَلِكَ لِرَسُولِ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ، فَقَالَ لِلَّذِينَ أَرَادُوا أَنْ يَدْخُلُوهَا : لَوْ دَخَلْتُمُوهَا لَمْ تَزَالُوا فِيهَا إِلَى يَوْمِ الْقِيَامَةِ، وَقَالَ لِلْآخَرِينَ قَوْلًا حَسَنًا، وَقَالَ : لَا طَاعَةَ فِي مَعْصِيَةِ اللهِ، إِنَّمَا الطَّاعَةُ فِي الْمَعْرُوفِ Musnad Ahmad 724Sahih (Darussalam).