Bechoros4: 4
מִי שֶׁאֵינוֹ מֻמְחֶה, וְרָאָה אֶת הַבְּכוֹר, וְנִשְׁחַט עַל פִּיו — הֲרֵי זֶה יִקָּבֵר, וִישַׁלֵּם מִבֵּיתוֹ. דָּן אֶת הַדִּין: זִכָּה אֶת הַחַיָּב, וְחִיֵּב אֶת הַזַּכַּאי, טִמֵּא אֶת הַטָּהוֹר, וְטִהֵר אֶת הַטָּמֵא — מַה שֶּׁעָשָׂה עָשׂוּי, וִישַׁלֵּם מִבֵּיתוֹ. וְאִם הָיָה מֻמְחֶה לְבֵית דִּין — פָּטוּר מִלְּשַׁלֵּם. מַעֲשֶׂה בְפָרָה שֶׁנִּטְּלָה הָאֵם שֶׁלָּהּ, וְהֶאֱכִילָהּ רַבִּי טַרְפוֹן לִכְלָבִים, וּבָא מַעֲשֶׂה לִפְנֵי חֲכָמִים וְהִתִּירוּהָ. אָמַר תּוֹדוֹס הָרוֹפֵא: אֵין פָּרָה וַחֲזִירָה יוֹצְאָה מֵאֲלֶכְּסַנְדְּרִיָּא עַד שֶׁהֵם חוֹתְכִין אֶת הָאֵם שֶׁלָּהּ, בִּשְׁבִיל שֶׁלֹּא תֵלֵד. אָמַר רַבִּי טַרְפוֹן: ,,הָלְכָה חֲמוֹרְךָ, טַרְפוֹן”! אָמַר לוֹ רַבִּי עֲקִיבָא: ,,רַבִּי טַרְפוֹן, פָּטוּר אַתָּה, שֶׁאַתָּה מֻמְחֶה לְבֵית דִּין, וְכָל הַמֻּמְחֶה לְבֵית דִּין פָּטוּר מִלְּשַׁלֵּם”.
[If] one who is not an expert inspected a bechor, and it was slaughtered by his sanction —- it must be buried, and he must make restitution from his property.  [If] one derived a verdict [and] he declared the guilty party innocent, or he declared the innocent party guilty, [or] he declared [something] tamei which was [in fact] tahor, or he declared [something] tahor which was [in fact] tamei —- what he has done is done, and he must make restitution from his own property. But if he was an expert approved by the court, he is exempt from making restitution. It happened that a cow’s womb had been removed, and R’ Tarfon had it fed to dogs, and the case came before the Sages, who declared it permissible. Todos the physician said: Not a cow or sow leaves Alexandria until its womb is cut away, in order that it should not give birth. Said R’ Tarfon, “Your donkey has departed, Tarfon!” R’ Akiva said to him, “R’ Tarfon, you are exempt, for you are an expert approved by the court, and any expert approved by the court is exempt from making restitution.”
Bechoros4: 5
הַנּוֹטֵל שְׂכָרוֹ לִהְיוֹת רוֹאֶה בְכוֹרוֹת — אֵין שׁוֹחֲטִין עַל פִּיו, אֶלָּא אִם כֵּן הָיָה מֻמְחֶה כְּאַיַּלַא בְּיַבְנֶה, שֶׁהִתִּירוּ לוֹ חֲכָמִים לִהְיוֹת נוֹטֵל אַרְבָּעָה אִסָּרוֹת בִּבְהֵמָה דַקָּה, וְשִׁשָּׁה בְּגַסָּה, בֵּין תָּמִים בֵּין בַּעַל מוּם.
[If] one takes payment for inspecting bechoros, [we] do not slaughter [them] by his sanction, unless he is an expert like Ayala at Yavneh, whom the Sages permitted to take four issars for small livestock, and six [issars] for large [livestock], whether unblemished or blemished.