Sahih al-Bukhari, Book 82, Hadith 15 (Bukhari 6368)

Narrated Abu Huraira:

The Prophet (ﷺ) said (that Allah said), "Vowing does not bring to the son of Adam anything I have not already written in his fate, but vowing is imposed on him by way of fore ordainment. Through vowing I make a miser spend of his wealth."