The Prophet ﷺ forbade making vows and said, "A vow does not avert anything. It is only a means of extracting something from the miser."
حدثنا أبو نعيم حدثنا سفيان عن منصور عن عبد الله بن مرة
نهى النبي ﷺ عن النذر وقال إنه لا يرد شيئا وإنما يستخرج به من البخيل