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