The Talmud
זבחים דף ב׳Zevachim 2b
Amud b of Zevachim 2 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Zevachim 2b · זבחים ב׳ ב
נדר הוא אלא אם כמה שנדרת עשית יהא נדר ואם לא נדבה יהא
— it is a vow! Rather: if you did as you vowed, let it be a vow; and if not, let it be a freewill-offering.
ונדבה מי שרי לשנויי בה
And with a freewill-offering — is it permitted to deviate with it?
אמר ליה רבינא לרב פפא לא הוית גבן באורתא בתחומא בי חרמך דרמי רבא מילי מעלייתא אהדדי ושני להו
Ravina said to Rav Pappa: you were not with us yesterday evening at the boundary, at Bei Charmach, where Rava set excellent matters against one another and resolved them.
מאי מילי מעלייתא תנן כל הזבחים שנזבחו שלא לשמן כו' טעמא דשלא לשמן הא סתמא עלו נמי לבעלים לשם חובה אלמא סתמא נמי כלשמן דמי
What excellent matters? We learnt: "All the sacrifices that were slaughtered not for their own sake", and so forth. The reason is that it was not for their own sake; but unspecified, they do count for the owners in discharge of an obligation as well. Evidently the unspecified case too is as for their own sake.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.