" عَنْ عَلِىٍّ قَالَ: بَعَثَ رَسُولُ الله ﷺ سَرِيَّةً وَاسْتَعْمَلَ عَلَيْهمْ رَجُلًا مِنَ الأنصَارِ فَأمَرَهُمْ أَنْ يَسْمَعُوا لَهُ وَيُطِيعُوا، فَلَمَّا خَرَجُوا وَجَدَ عَلَيْهِمْ في شَئٍ، فَقَالَ لَهُمْ: ألَيْسَ قَدْ أمَركُمْ رَسُولُ الله ﷺ أنْ تطُيعُونِى؟ قَالُوا: بَلَى، قَالَ: اجْمَعُوا حَطَبًا، ثُمَّ دَعَا بِنَارٍ فَأضْرمَهَا فِيهِ، ثُمَّ قَالَ: عَزَمْتُ عَلَيْكُمْ لَتَدْخُلُنَّهَا، فَهَمَّ القَوْمُ أنْ يَدْخُلُوهَا، فَقَالَ لَهُمْ شَابٌّ مِنْهُمْ: إِنَّما فَرَرْتُمْ إِلَى رَسُولِ الله ﷺ مِنَ النَّارِ فَلاَ تَعْجَلُوا حتَّى نَلقَى النَّبِىَّ ﷺ فَإِنْ أمَرَكُمْ أنْ تَدْخُلُوهَا فَادْخُلُوا، فَرَجَعُوا إِلَى النَّبِىِّ ﷺ فَأخْبَرُوهُ، فَقَالَ: لَوْ دَخَلتُمُوهَا مَا خَرْجتُمْ مِنْهَا أَبَدًا، وَفِى لَفْظٍ: لَوْ دَخَلُوهَا لَمْ يَزَالُوا فِيهَا إِلَى يَوْمِ القِيَامَةِ، لاَ طَاعَةَ فِى مَعْصِيَةِ الله، إِنَّمَا الطَّاعَةُ فِى المَعْرُوفِ ".
The Prophet ﷺ sent an army unit (for some campaign) and appointed a man from the Ansar as its commander and ordered them (the soldiers) to obey him. (During the campaign) he became angry with them and said, "Didn't the Prophet ﷺ order you to obey me?" They said, "Yes." He said, "I order you to collect wood and make a fire and then throw yourselves into it." So they collected wood and made a fire, but when they were about to throw themselves into, it they started looking at each other, and some of them said, "We followed the Prophet ﷺ to escape from the fire. How should we enter it now?" So while they were in that state, the fire extinguished and their commander's anger abated. The event was mentioned to the Prophet ﷺ and he said, "If they had entered it (the fire) they would never have come out of it, for obedience is required only in what is good." (See Hadith No. 629. Vol. 5)
بَعَثَ النَّبِيُّ ﷺ سَرِيَّةً وَأَمَّرَ عَلَيْهِمْ رَجُلاً مِنَ الأَنْصَارِ وَأَمَرَهُمْ أَنْ يُطِيعُوهُ فَغَضِبَ عَلَيْهِمْ وَقَالَ أَلَيْسَ قَدْ أَمَرَ النَّبِيُّ ﷺ أَنَّ تُطِيعُونِي قَالُوا بَلَى قَالَ عَزَمْتُ عَلَيْكُمْ لَمَا جَمَعْتُمْ حَطَبًا وَأَوْقَدْتُمْ نَارًا ثُمَّ دَخَلْتُمْ فِيهَا فَجَمَعُوا حَطَبًا فَأَوْقَدُوا فَلَمَّا هَمُّوا بِالدُّخُولِ فَقَامَ يَنْظُرُ بَعْضُهُمْ إِلَى بَعْضٍ قَالَ بَعْضُهُمْ إِنَّمَا تَبِعْنَا النَّبِيَّ ﷺ فِرَارًا مِنَ النَّارِ أَفَنَدْخُلُهَا فَبَيْنَمَا هُمْ كَذَلِكَ إِذْ خَمَدَتِ النَّارُ وَسَكَنَ غَضَبُهُ فَذُكِرَ لِلنَّبِيِّ ﷺ فَقَالَ لَوْ دَخَلُوهَا مَا خَرَجُوا مِنْهَا أَبَدًا إِنَّمَا الطَّاعَةُ فِي الْمَعْرُوفِ
The Messenger of Allah ﷺ sent out an expedition and appointed a man of the Ansar to lead it. When they went out, he (the man in charge) got upset with them for some reason and said to them: Didnʿt the Messenger of Allah ﷺ instruct you to obey me? They said: Yes. He said: Bring firewood Then he called for fire and lit it, then he said: I insist that you enter it. The people thought of entering it, but then a young man among them said: You fled to the Messenger of Allah ﷺ from the Fire; do not rush (to enter it) until you meet the Prophet ﷺ, then if he orders you to enter it, enter it. They went back to the Prophet ﷺ and told him about that. He said to them: “If you had entered it you would never have come out of it; obedience is only with regard to that which is right and proper.”
بَعَثَ رَسُولُ اللهِ ﷺ سَرِيَّةً وَاسْتَعْمَلَ عَلَيْهِمْ رَجُلًا مِنَ الْأَنْصَارِ قَالَ فَلَمَّا خَرَجُوا قَالَ وَجَدَ عَلَيْهِمْ فِي شَيْءٍ قَالَ فَقَالَ لَهُمْ أَلَيْسَ قَدْ أَمَرَكُمْ رَسُولُ اللهِ ﷺ أَنْ تُطِيعُونِي؟ قَالَ قَالُوا بَلَى قَالَ فَقَالَ اجْمَعُوا حَطَبًا ثُمَّ دَعَا بِنَارٍ فَأَضْرَمَهَا فِيهِ ثُمَّ قَالَ عَزَمْتُعَلَيْكُمْ لَتَدْخُلُنَّهَا قَالَ فَهَمَّ الْقَوْمُ أَنْ يَدْخُلُوهَا قَالَ فَقَالَ لَهُمْ شَابٌّ مِنْهُمْ إِنَّمَا فَرَرْتُمْ إِلَى رَسُولِ اللهِ ﷺ مِنَ النَّارِ فَلا تَعْجَلُوا حَتَّى تَلْقَوْا النَّبِيَّ ﷺ فَإِنْ أَمَرَكُمْ أَنْ تَدْخُلُوهَا فَادْخُلُوهَا قَالَ فَرَجَعُوا إِلَى النَّبِيِّ ﷺ فَأَخْبَرُوهُ فَقَالَ لَهُمْ لَوْ دَخَلْتُمُوهَا مَا خَرَجْتُمْ مِنْهَا أَبَدًا إِنَّمَا الطَّاعَةُ فِي الْمَعْرُوفِ