The Messenger of Allah ﷺ said, "There is no vow in disobedience to Allah."
أخبرنا كثير بن عبيد قال حدثنا محمد بن حرب عن الزبيدي عن الزهري أنه بلغه عن القاسم
قال رسول الله ﷺ لا نذر في معصية
No references are available.
[Sahih] The hadith has many corroborating narrations, including the hadiths that follow.