The Messenger of Allah ﷺ said, "Whoever vows to obey Allah , let him obey Him, and whoever vows to disobey Allah
, let him not disobey Him."
حدثنا ابن نمير قال حدثنا يحيى بن سعيد عن طلحة بن عبد الملك عن القاسم بن محمد
قال رسول الله ﷺ من نذر أن يطيع الله عز وجل فليطعه ومن نذر أن يعصي الله عز وجل فلا يعصه
Its isnad is sahih. Talha bin Abdul-Malik Ayli is trustworthy, and his hadith appears in Bukhari. Abdullah only said of it, "gharib," because Talha alone transmitted it. As for Ibn Numayr, he was not alone in transmitting it, rather Abu Khaythama also followed him in narrating it, as Abdullah mentioned.