Mishneh Torah — Positive Mitzvot מצוות עשה, Chapter 94
The full Hebrew text of Mishneh Torah, Positive Mitzvot, Chapter 94, with English translation by Maimonides (Rambam).
לקיים אדם כל מה שהוציא בשפתיו, מקרבן או צדקה וכיוצא בהם, שנאמר: "מוצא שפתיך, תשמור ועשית" (דברים כג,כד).
For a person to fulfill any [promise] which he utters, be it a sacrifice, [a gift to] charity, or the like, as [Deuteronomy 23:24] states: "What you have spoken, take heed to fulfill...."