Reference for Shekalim 4:6
הַמַּקְדִּישׁ נְכָסָיו וְהָיוּ בָּהֶן דְּבָרִים רְאוּיִין לְקָרְבְּנוֹת הַצִּבּוּר, יִנָּתְנוּ לָאֻמָּנִין בִּשְׂכָרָן, דִּבְרֵי רַבִּי עֲקִיבָא. אָמַר לוֹ בֶּן עֲזַאי, אֵינָהּ הִיא הַמִּדָּה, אֶלָּא מַפְרִישִׁין מֵהֶן שְׂכַר הָאֻמָּנִין, וּמְחַלְּלִין אוֹתָן עַל מָעוֹת הָאֻמָּנִין, וְנוֹתְנִין אוֹתָן לָאֻמָּנִין בִּשְׂכָרָן, וְחוֹזְרִין וְלוֹקְחִין אוֹתָן מִתְּרוּמָה חֲדָשָׁה:
If one makes his property hekdesh [("hekdesh," unqualified, reverting to Temple maintenance)] and it includes things appropriate for communal offerings [such as incense, or wine, oil, and meal], they may be given to (Temple) workmen as their wage. [And they become chullin, even though nothing becomes hekdesh in their stead, R. Akiva holding that hekdesh may be redeemed for labor, viz. (Exodus 25:8): "And let them make for Me a sanctuary, and I shall dwell in their midst" — the labor may be "financed" by hekdesh.] These are the words of R. Akiva. Ben Azzai said to him: "This is not of the measure." [That is, this "measure" that you prescribe is not the same as that prescribed above relative to the incense, and you should be consistent in your measures.] Rather, they separate from it the wage of the artisans, redeem it for the wage of the artisans, give it to the artisans as their wage, and then repurchase it with the new terumah (see 4:5), [hekdesh not being redeemed for labor. The halachah is in accordance with Ben Azzai.]