Bechoros2: 5
רָחֵל שֶׁיָּלְדָה כְּמִין עֵז, וְעֵז שֶׁיָּלְדָה כְּמִין רָחֵל, פָּטוּר מִן הַבְּכוֹרָה. וְאִם יֶשׁ בּוֹ מִקְצָת סִימָנִין, חַיָּב.
[If] a ewe bore [an offspring resembling] a goat, or [if] a goat bore [an offspring resembling] a ewe, it is exempt from the law of bechor. But if it retains some characteristics, it is subject [to the law of bechor].