Shekalim4: 6
הַמַּקְדִּישׁ נְכָסָיו, וְהָיוּ בָהֶן דְּבָרִים רְאוּיִין לְקָרְבְּנוֹת הַצִּבּוּר, יִנָּתְנוּ לָאֻמָּנִין בִּשְׂכָרָן, דִּבְרֵי רַבִּי עֲקִיבָא.  אָמַר לוֹ בֶּן עֲזַאי: אֵינָהּ הִיא הַמִּדָּה. אֶלָּא מַפְרִישִׁין [מֵהֶן] שְׂכַר הָאֻמָּנִין, וּמְחַלְּלִין אוֹתָן עַל מָעוֹת הָאֻמָּנִין, וְנוֹתְנִין אוֹתָן לָאֻמָּנִין בִּשְׂכָרָן, וְחוֹזְרִין וְלוֹקְחִין אוֹתָן מִתְּרוּמָה חֲדָשָׁה.
If] one consecrated his possessions, and among them were things suitable for communal offerings, these [things] should be given to the artisans for their wages —- [these are] the words of R’ Akiva.  Said Ben Azzai to him: This is not the [same] method [described above]. Rather, they set aside from these [things an amount equal to] the artisans’ wages and redeem them with [funds set aside] for the artisans’ wages; then they give them to the artisans as their wages and repur-chase them with [funds from] the new terumah.
Shekalim4: 7
הַמַּקְדִּישׁ נְכָסָיו, וְהָיְתָה בָהֶן בְּהֵמָה רְאוּיָה לְגַבֵּי הַמִּזְבֵּחַ, זְכָרִים וּנְקֵבוֹת, רַבִּי אֱלִיעֶזֶר אוֹמֵר: זְכָרִים יִמָּכְרוּ לְצָרְכֵי עוֹלוֹת, וּנְקֵבוֹת יִמָּכְרוּ לְצָרְכֵי זִבְחֵי שְׁלָמִים, וּדְמֵיהֶן יִפְּלוּ עִם שְׁאָר נְכָסִים לְבֶדֶק הַבָּיִת.  רַבִּי יְהוֹשֻׁעַ אוֹמֵר: זְכָרִים עַצְמָן יִקָּרְבוּ עוֹלוֹת, וּנְקֵבוֹת יִמָּכְרוּ לְצָרְכֵי זִבְחֵי שְׁלָמִים וְיָבִיא בִדְמֵיהֶן עוֹלוֹת, וּשְׁאָר נְכָסִים יִפְּלוּ לְבֶדֶק הַבָּיִת.   רַבִּי עֲקִיבָא אוֹמֵר: רוֹאֶה אֲנִי אֶת דִּבְרֵי רַבִּי אֱלִיעֶזֶר מִדִּבְרֵי רַבִּי יְהוֹשֻׁעַ, שֶׁרַבִּי אֱלִיעֶזֶר הִשְׁוָה אֶת מִדָּתוֹ, וְרַבִּי יְהוֹשֻׁעַ חָלַק.  אָמַר רַבִּי פַּפְּיַס: שָׁמַעְתִּי כְּדִבְרֵי שְׁנֵיהֶן: שֶׁהַמַּקְדִּישׁ בְּפֵרוּשׁ, כְּדִבְרֵי רַבִּי אֱלִיעֶזֶר; וְהַמַּקְדִּישׁ סְתָם, כְּדִבְרֵי רַבִּי יְהוֹשֻׁעַ.
[If] one consecrated his possessions, and among them there was an animal suitable for the altar, either male or female —- R’ Eliezer says: The males should be sold to those needing burnt-offerings and the females should be sold to those needing peace-offerings; their proceeds should be used with the rest of the property for the upkeep of the Temple.  R’ Ye-hoshua says: The males themselves should be brought as burnt-offerings, but the females should be sold to those needing peace-offerings, burnt-offerings should be brought with their proceeds, and the rest of the property should be used for the upkeep of the Temple.  R’ Akiva says: I prefer R’ Eliezer’s view over R’ Yehoshua’s, because R’ Eliezer applies his [logi-cal] method uniformly whereas R’ Yehoshua differentiates.  Said R’ Papyas: I have been taught that both views are correct. Regarding one who consecrates explicitly, [the halachah is] according to R’ Eliezer; whereas regarding one who consecrates without explicit designation, [the halachah is] according to R’ Yehoshua.