That the Messenger of Allah (ﷺ) said: "Do not vow, for the vows does not prevent what is decreed at all, and it only causes the miser to spend (of his wealth)."
Jami` at-Tirmidhi Book 20, Hadith 17