(1) باب الْبَيْعَةِ عَلَى السَّمْعِ وَالطَّاعَةِ
It was narrated that 'Ubadah bin As-Samit said:
"We pledged to the Messenger of Allah to hear and obey, both in times of hardship and ease." And he mentioned similarly. (ID)
Reference (ID): Sunan an-Nasa'i 4150 (ID)
In-book reference (ID): Book 39, Hadith 2 (ID)
English translation (ID): Vol. 5, Book 39, Hadith 4155 (ID)