Nedarim4: 2
הַמֻּדָּר הֲנָאָה מֵחֲבֵרוֹ — שׁוֹקֵל [לוֹ] אֶת שִׁקְלוֹ, וּפוֹרֵעַ אֶת חוֹבוֹ, וּמַחֲזִיר לוֹ אֶת אֲבֵדָתוֹ. מָקוֹם שֶׁנּוֹטְלִין עָלֶיהָ שָׂכָר — תִּפּוֹל הֲנָאָה לַהֶקְדֵּשׁ.
Someone prohibited by a neder to benefit from another —- [the latter] may contribute his half shekel [for him], pay his debt, and return his lost article to him. [In] a place where [people] take a reward for this, the benefit should go to the Temple.