Ubada bin Samit reported,

We pledged allegiance to the Messenger of Allah ﷺ to listen and obey in hardship and in ease, and he mentioned the like of it.

Nasai 4155

Sahih

أخبرنا عيسى بن حماد قال أنبأنا الليث عن يحيى بن سعيد عن عبادة بن الوليد بن عبادة بن الصامت عن أبيه أن

عبادة بن الصامت قال

بايعنا رسول الله ﷺ على السمع والطاعة في العسر واليسر وذكر مثله

النسائي 4155صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Pledge of allegiance
Chapter
Pledge of allegiance upon hearing and obeying
Numbering
Darussalam 4155
Nasai 4155