Abu Saeed Khudri reported,

The Messenger of Allah ﷺ sent Alqama bin Mujazziz on a military expedition, and I was among the troops. When he reached the destination of his expedition, or when he was somewhere along the way, a group of the army asked his permission to depart, and he granted them permission. He appointed Abdullah bin Huzafa bin Qays al-Sahmi as their commander, and I was among those who marched with him.When they were somewhere along the road, the men kindled a fire to warm themselves by it or to cook something on it. Abdullah, who had a playful streak in him, said, "Don't I have the right of hearing and obedience over you?"They replied, "Yes, indeed."He said, "Then whatever I command you to do, you will do it?"They said, "Yes."He said, "Then I command you to leap into this fire."Some of the men stood up and tucked up their garments. When he saw that they were about to jump in, he said, "Hold yourselves back. I was only joking with you."When we returned, they mentioned this to the Prophet ﷺ, and the Messenger of Allah ﷺ said, "Whoever among them commands you to disobey Allah, do not obey him."

Ibn Majah 2863

Hasan

حدثنا أبو بكر بن أبي شيبة حدثنا يزيد بن هارون حدثنا محمد بن عمرو عن عمر بن الحكم بن ثوبان

عن أبي سعيد الخدري

أن رسول الله ﷺ بعث علقمة بن مجزر على بعث وأنا فيهم فلما انتهى إلى رأس غزاته أو كان ببعض الطريق استأذنته طائفة من الجيش فأذن لهم وأمر عليهم عبد الله بن حذافة بن قيس السهمي فكنت فيمن غزا معه فلما كان ببعض الطريق أوقد القوم نارا ليصطلوا أو ليصنعوا عليها صنيعا فقال عبد الله وكانت فيه دعابة أليس لي عليكم السمع والطاعة قالوا بلى قال فما أنا بآمركم بشيء إلا صنعتموه قالوا نعم قال فإني أعزم عليكم إلا تواثبتم في هذه النار فقام ناس فتحجزوا فلما ظن أنهم واثبون قال أمسكوا على أنفسكم فإنما كنت أمزح معكم فلما قدمنا ذكروا ذلك للنبي ﷺ فقال رسول الله ﷺ من أمركم منهم بمعصية الله فلا تطيعوه

ابن ماجه 2863حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Jihad
Chapter
No obedience in disobedience to Allah
Numbering
Darussalam 2863
Ibn Majah 2863