Yevamot 109a:17יבמות ק״ט א:י״ז
GEMARA: The Gemara inquires about Rabbi Eliezer’s suggestion to instruct the minor to refuse: Is it permitted to instruct her to refuse? Doesn’t bar Kappara teach: A person should always cling to three things and distance himself from three things. He should cling to three things: To ḥalitza rather than levirate marriage, to bringing about peace, and to the nullification of vows. And he should distance himself from three things: From refusal; and from accepting deposits, as he is then responsible for them; and from serving as a guarantor. The Gemara answers: A refusal for a mitzva is different, as this refusal is performed to allow the mitzva of levirate marriage to be fulfilled with the other sister.
גְּמָ׳ וּמִי שְׁרֵי? וְהָתָנֵי בַּר קַפָּרָא: לְעוֹלָם יִדְבַּק אָדָם בִּשְׁלֹשָׁה דְּבָרִים, וְיִתְרַחֵק מִשְּׁלֹשָׁה דְּבָרִים. יִדְבַּק בִּשְׁלֹשָׁה דְּבָרִים: בַּחֲלִיצָה, וּבַהֲבָאַת שָׁלוֹם, וּבַהֲפָרַת נְדָרִים. וְיִתְרַחֵק מִשְּׁלֹשָׁה דְּבָרִים: מִן הַמֵּיאוּן, וּמִן הַפִּקְדוֹנוֹת, וּמִן הָעֵרְבוֹנוֹת! מֵיאוּן דְּמִצְוָה שָׁאנֵי.
Nedarim 22a:5נדרים כ״ב א:ה׳
We also do not broach dissolution using this other method, as it is taught in a baraita: Rabbi Natan says: One who vows is considered as if he built a personal altar outside the Temple, which is prohibited, and one who fulfills this vow is considered as if he sacrifices an offering on it. With the first clause, we may broach dissolution by informing the one who vowed that vowing is akin to building an altar outside the Temple, but with regard to the latter clause there is a dispute among the Sages. Abaye said: We do broach dissolution by telling someone that fulfilling a vow is like sacrificing an offering on a forbidden altar, while Rava said: We do not broach dissolution with it.
וְלָא פָּתְחִינַן בַּהֲדָא אַחְרָנִייתָא, דְּתַנְיָא, רַבִּי נָתָן אוֹמֵר: הַנּוֹדֵר — כְּאִילּוּ בָּנָה בָּמָה, וְהַמְקַיְּימוֹ — כְּאִילּוּ מַקְרִיב עָלָיו קׇרְבָּן. בְּרֵישָׁא פָּתְחִינַן. בְּסֵיפָא, אַבָּיֵי אָמַר: פָּתְחִינַן, רָבָא אָמַר: לָא פָּתְחִינַן.
Tosafot on Yevamot 109b:1:2תוספות על יבמות ק״ט ב:א׳:ב׳
...
הנודר כאילו בנה במה - י"מ דנפקא לן חדלה חדלה כתיב הכא וכי תחדל לגדור וכתיב התם חדלו לכם מן האדם אשר נשמה באפו כי במה נחשב ואמר בפ"ק דברכות (דף יד. ושם) אל תקרי במה אלא במה וג"ש דחדלה דריש בפרק ד' נדרים (נדרים דף כב.) אמר שמואל הנודר אע"פ שמקיימו נקרא רשע אמר ר' אבהו מאי קראה כתיב הכא וכי תחדל לנדור וכתיב התם שם רשעים חדלו רוגז:
Ran on Nedarim 22a:5:1ר"ן על נדרים כ״ב א:ה׳:א׳
...
הנודר כאילו בנה במה - בשעת איסור הבמות ונראה בעיני דלהכי מדמינן לה לבונה במה משום דסליק אדעתיה דנודר דמצוה קא עביד דרחמנא אסריה במילי דאיסורא ואיהו נמי אסר אנפשיה וקאמר דטעי דאדרבה לבונה במה דמי דנהי דרחמנא אזהריה לאקרובי קרבנות בפנים אזהריה דלא לוסיף עלה לבנות במה ולהקריב בחוץ ה"נ נהי דרחמנא אסר עליה דברים האסורים כי מוסיף איהו אמאי דאסר רחמנא פשע כענין שאמרו בירושלמי בפרק פותחים לא דייך במה שאסרה תורה אלא שאתה אוסר עליך דברים אחרים ושייך ביה נמי האי לישנא משום דנודר מתפיס בקרבן וכיון שאין קרבנו רצוי נמצא כבונה במה ומקריב בחוץ: