It was narrated from Abu Hurairah that the Prophet said:
"Do not make vows, for a vow does not have any impact on the Qadar. Rather it is just a means of taking wealth from the miserly."