Abu Huraira reported Allah's Messenger (ﷺ) forbidding taking of vows, and said
It does not avert Fate, but is the means by which something is extracted from the miser.