"We used to pledge to the Messenger of Allah to hear and obey, the he said: 'In as much as you can."'
Sunan an-Nasa'i Book 39, Hadith 39