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.”
بَعَثَ رَسُولُ اللهِ ﷺ سَرِيَّةً وَاسْتَعْمَلَ عَلَيْهِمْ رَجُلًا مِنَ الْأَنْصَارِ قَالَ فَلَمَّا خَرَجُوا قَالَ وَجَدَ عَلَيْهِمْ فِي شَيْءٍ قَالَ فَقَالَ لَهُمْ أَلَيْسَ قَدْ أَمَرَكُمْ رَسُولُ اللهِ ﷺ أَنْ تُطِيعُونِي؟ قَالَ قَالُوا بَلَى قَالَ فَقَالَ اجْمَعُوا حَطَبًا ثُمَّ دَعَا بِنَارٍ فَأَضْرَمَهَا فِيهِ ثُمَّ قَالَ عَزَمْتُعَلَيْكُمْ لَتَدْخُلُنَّهَا قَالَ فَهَمَّ الْقَوْمُ أَنْ يَدْخُلُوهَا قَالَ فَقَالَ لَهُمْ شَابٌّ مِنْهُمْ إِنَّمَا فَرَرْتُمْ إِلَى رَسُولِ اللهِ ﷺ مِنَ النَّارِ فَلا تَعْجَلُوا حَتَّى تَلْقَوْا النَّبِيَّ ﷺ فَإِنْ أَمَرَكُمْ أَنْ تَدْخُلُوهَا فَادْخُلُوهَا قَالَ فَرَجَعُوا إِلَى النَّبِيِّ ﷺ فَأَخْبَرُوهُ فَقَالَ لَهُمْ لَوْ دَخَلْتُمُوهَا مَا خَرَجْتُمْ مِنْهَا أَبَدًا إِنَّمَا الطَّاعَةُ فِي الْمَعْرُوفِ