Sahih al-Bukhari, Book 82, Hadith 14 (Bukhari 6367)

Narrated Ibn `Umar:

The Prophet (ﷺ) forbade vowing and said, "In fact, vowing does not prevent anything, but it makes a miser to spend his property."