This hadith has been transmitted on the authority of A'mash.
Sahih Muslim Book 33, Hadith 65
← Previous Hadith
The Mersenger of Allah (ﷺ) sent an expeditionand appointed over the Mujahids a man from the Ansar. (While making the appointment), he ordered that his work should be listened to and obeyed. They made him angry in a matter. He said: Collect for me dry wood. They collected it for him. Then he said: Kindle a fire. They kindled (the fire). Then he said: Didn't the Messenger of Allah (ﷺ) order you to listen to me and obey (my orders)? They said: Yes. He said: Enter the fire. The narrator says: (At this), they began to look at one another and said: We fled from the fire to (find refuge with) the Messenger of Allah (ﷺ) (and now you order us to enter it). They stood quiet until his anger cooled down and the fire went out. When they returned, they related the incident to the Messenger of Allah (ﷺ). He said: If they had entered it, they would not have come out. Obedience (to the commander) is obligatory only in what is good.
Sahih Muslim Book 33, Hadith 64 Next Hadith → The Messenger of Allah (ﷺ) took an oath of allegiance from us on our listening to and obeying the orders of our commander in adversity and prosperity, in pleasure and displeasure (and even) when somebody is given preference over us, on our avoiding to dispute the delegation of powers to a person deemed to be a fit recipient thereof (in the eye of one who delegates it) and on our telling the truth in whatever position we be without fearing in the matter ef Allah the reproach of the reproacher.
Sahih Muslim Book 33, Hadith 66
Sahih Muslim Book 33, Hadith 64 Next Hadith → The Messenger of Allah (ﷺ) took an oath of allegiance from us on our listening to and obeying the orders of our commander in adversity and prosperity, in pleasure and displeasure (and even) when somebody is given preference over us, on our avoiding to dispute the delegation of powers to a person deemed to be a fit recipient thereof (in the eye of one who delegates it) and on our telling the truth in whatever position we be without fearing in the matter ef Allah the reproach of the reproacher.
Sahih Muslim Book 33, Hadith 66