The Messenger of Allah (ﷺ) as saying: No vow must be taken to do an act of disobedience, and the atonement for it is the same as for an oath.

Ahmad b. Muhammad al-Marwazi said: The correct chain of this tradition is: 'Ali b. al-Mubarak, from Yahya b. Abi Kathir, from Muhammad b. al-Zubair, from his father, on the authority of 'Imran b. Husain from the Prophet (ﷺ)

Abu Dawud said: By this he (al-Marwazi) means that the narrator Sulaiman b. Arqam had some misunderstanding about this tradition. Al-Zuhri narrated it from him and then transmitted it (omitting his name) from Abu Salamah on the authority of 'Aishah.

Abu Dawud said: Baqiyyah has transmitted it from al-Auza'i from Yahya, from Muhammad b. al-Zubair with a similar chain of Ibn al-Mubarak.
Sunan Abi Dawud Book 22, Hadith 51