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.