Jami` at-Tirmidhi, Book 20, Hadith 17 (Tirmidhi 1574)

Narrated Abu Hurairah:

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)."