Sunan Abi Dawud, Book 22, Hadith 48 (Abu Dawud 3290)

Narrated 'Aishah:

The Messenger of Allah (ﷺ) as saying: If anyone vows to obey Allah, let him obey Him, but if anyone vows to disobey Him, let him not disobey Him.