صحيح مسلم
From Sahih Muslim (Hadith 4242):
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
Reference: Muslim 4242