Volume 8 · Book 78 · Hadith 687
Narrated 'Aisha: The Prophet said, "Whoever vows that he will be obedient to Allah, should remain obedient to Him; and whoever made a vow that he will disobey Allah, should not disobey Him."
— Sahih Bukhari, Volume 8, Book 78: Oaths and Vows, Hadith #687