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]. (IT)
Reference (IT): Bulugh al-Maram 1388 (IT)
In-book reference (IT): Book 13, Hadith 15 (IT)
English translation (IT): Book 13, Hadith 1388 (IT)