Oaths and Vows

Bukhari :: Book 8 :: Volume 78 :: Hadith 691

Narrated 'Aisha:

The Prophet said, "Whoever vowed to be obedient to Allah, must be obedient to Him; and whoever vowed to be disobedient to Allah, should not be disobedient to Him."