Muslim has reported from the Hadith of 'Imran (RA):
(Allah's Messenger (ﷺ) said) "There is no fulfillment of a vow involving an act of disobedience." [Reported by Muslim].
Reference: Bulugh al-Maram 1388
In-book reference: Book 13, Hadith 15
English translation: Book 13, Hadith 1388