'Aishah (May Allah be pleased with her) said:
The Prophet (ﷺ) said, "He who vows to obey Allah, should obey Him. But he who vows to disobey Allah, should not disobey Him."[Al- Bukhari]. (ES)
App reference (ES): Book 19, Hadith 55 (ES)
Arabic/English book reference (ES): Book 19, Hadith 1862 (ES)