Sayyidah Aisha (may Allah be pleased with her) said: The Messenger of Allah (peace and blessings be upon him) said: “Whoever makes a vow to obey Allah should obey Him, and whoever makes a vow to disobey Allah should not commit the sinful act.”
Hadith Referenceسنن دارمي / من النذور و الايمان / 2375