Chulin5: 1
אֹתוֹ וְאֶת־בְּנוֹ נוֹהֵג בֵּין בָּאָרֶץ בֵּין בְּחוּצָה לָאָרֶץ, בִּפְנֵי הַבַּיִת וְשֶׁלֹּא בִפְנֵי הַבַּיִת, בְּחֻלִּין וּבְמֻקְדָּשִׁין. כֵּיצַד? הַשּׁוֹחֵט אֹתוֹ וְאֶת־בְּנוֹ חֻלִּין בַּחוּץ, שְׁנֵיהֶם כְּשֵׁרִים, וְהַשֵּׁנִי סוֹפֵג אֶת־הָאַרְבָּעִים. קָדָשִׁים בַּחוּץ — הָרִאשׁוֹן חַיָּב כָּרֵת, וּשְׁנֵיהֶם פְּסוּלִים, וּשְׁנֵיהֶם סוֹפְגִים אֶת־הָאַרְבָּעִים. חֻלִּין בִּפְנִים — שְׁנֵיהֶם פְּסוּלִים, וְהַשֵּׁנִי סוֹפֵג אֶת־הָאַרְבָּעִים. קָדָשִׁים בִּפְנִים — הָרִאשׁוֹן כָּשֵׁר וּפָטוּר, וְהַשֵּׁנִי סוֹפֵג אֶת־הָאַרְבָּעִים וּפָסוּל.
[The law of] ‘‘it and its offspring’’ applies both in the Land [of Israel] and outside the Land, when the Temple exists and when the Temple does not exist, to unconsecrated animals and to consecrated animals. How so? [If] one slaughters ‘‘it and its offspring’’ which are: 1) unconsecrated animals outside [the Temple confines], both of them are fit, and the second one incurs forty lashes; 2) consecrated animals outside — the first one is liable to kares, and both are unfit, and both incur forty lashes; 3) unconsecrated animals inside — both are unfit, and the second one incurs forty lashes; 4) consecrated animals inside — the first one is fit and he is exempt, and the second one incurs forty lashes and it is unfit.