The Prophet ﷺ forbade vowing and said, "In fact, vowing does not prevent anything, but it makes a miser to spend his property." (Using translation from Bukhārī 6608)
نَهَى رَسُولُ اللهِ ﷺ عَنِ النَّذْرِ وَقَالَ «إِنَّهُ لَا يَرُدُّ شَيْئًا وَإِنَّمَا يُسْتَخْرَجُ بِهِ مِنَ الشَّحِيحِ»