Ma'aser Sheini 1:6
Ma'aser Sheini1: 6
הַלּוֹקֵחַ בְּהֵמָה שׁוֹגֵג, יַחְזְרוּ דָמֶיהָ לִמְקוֹמָן; מֵזִיד, תַּעֲלֶה וְתֵאָכֵל בַּמָּקוֹם. וְאִם אֵין מִקְדָּשׁ, תִּקָּבֵר עַל יְדֵי עוֹרָהּ.
[If] one buys a domestic animal inadvertently, its funds should be returned to their place; [if he bought the animal] intentionally, it is brought up [to Jerusalem] and is eaten in the Place. And if there is no Temple, it is buried with its hide.