(2) باب النَّهْىِ عَنِ النَّذْرِ، وَأَنَّهُ، لاَ يَرُدُّ شَيْئًا
Ibn Umar reported that Allah's Apostle (ﷺ) forbade (people) taking vows, and said:
It does not (necessarily) bring good (in the form of substantial, and tangible results), but it is the meant whereby something is extracted from the miserly persons.
Reference: Sahih Muslim 1639 c
In-book reference: Book 26, Hadith 5
USC-MSA web (English) reference(deprecated numbering scheme): Book 14, Hadith 4021
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.