יומא ו:א · Yoma 6:1

שְׁנֵי שְׂעִירֵי יוֹם הַכִּפּוּרִים, מִצְוָתָן שֶׁיִּהְיוּ שְׁנֵיהֶן שָׁוִין בְּמַרְאֶה וּבְקוֹמָה וּבְדָמִים וּבִלְקִיחָתָן כְּאֶחָד. וְאַף עַל פִּי שֶׁאֵינָן שָׁוִין, כְּשֵׁרִין. לָקַח אֶחָד הַיּוֹם וְאֶחָד לְמָחָר, כְּשֵׁרִין. מֵת אֶחָד מֵהֶן, אִם עַד שֶׁלֹּא הִגְרִיל מֵת, יִקַּח זוּג לַשֵּׁנִי. וְאִם מִשֶּׁהִגְרִיל מֵת, יָבִיא זוּג אַחֵר וְיַגְרִיל עֲלֵיהֶם בַּתְּחִלָּה, וְיֹאמַר, אִם שֶׁל שֵׁם מֵת, זֶה שֶׁעָלָה עָלָיו הַגּוֹרָל לַשֵּׁם יִתְקַיֵּם תַּחְתָּיו. וְאִם שֶׁל עֲזָאזֵל מֵת, זֶה שֶׁעָלָה עָלָיו הַגּוֹרָל לַעֲזָאזֵל יִתְקַיֵּם תַּחְתָּיו. וְהַשֵּׁנִי יִרְעֶה עַד שֶׁיִּסְתָּאֵב, וְיִמָּכֵר וְיִפְּלוּ דָמָיו לִנְדָבָה, שֶׁאֵין חַטַּאת צִבּוּר מֵתָה. רַבִּי יְהוּדָה אוֹמֵר, תָּמוּת. וְעוֹד אָמַר רַבִּי יְהוּדָה, נִשְׁפַּךְ הַדָּם, יָמוּת הַמִּשְׁתַּלֵּחַ. מֵת הַמִּשְׁתַּלֵּחַ, יִשָּׁפֵךְ הַדָּם:
The mitzva of the two Yom Kippur goats, the goat sacrificed to God and the goat sent to Azazel that are brought as a pair, is as follows, ab initio : That they will both be identical in appearance, i.e., color, and in height, and in monetary value, and their acquisition must be as one, i.e., they must be purchased together. And even if they are not identical, nevertheless, they are valid. And similarly, if he acquired one today and one tomorrow, they are valid. If one of the goats died, if it died before the High Priest drew the lots, he immediately takes a counterpart for the second, since neither has yet been designated. And if it died after the High Priest drew the lots, he brings another pair of goats and draws lots over them from the start. After that lottery he utters a stipulation: If the one to be sacrificed to God died, that goat upon which the lot for God was drawn in the second lottery shall stand in its stead; and if the one to be sent to Azazel died, that goat upon which the lot for Azazel was drawn shall stand in its stead. And the second, superfluous goat, i.e., in the case where a new pair of goats was brought, should graze until it becomes unfit, at which point it will be sold, and the money received from its sale will go toward the purchase of a public gift-offering. Although for individual sin-offerings in similar circumstances there is no remedy and it is left to die, that is not the case here, as a communal sin-offering is not left to die. On the other hand, Rabbi Yehuda says: In this it should be left to die. And furthermore, Rabbi Yehuda said: If the blood of the goat sacrificed to God spilled before it was sprinkled, the scapegoat is left to die. Similarly, if the scapegoat dies, the blood of the goat sacrificed to God should be spilled, and two other goats are brought and lots are drawn.

Word-by-word Breakdown (מילים ושרשים)

שְׁנֵי → the two [ש - נ - ה]שְׂעִירֵי → goats of [ש - ע - ר]יוֹם → the day of [י - ו - ם]הַכִּפּוּרִים → Yom Kippur [כ - פּ - ר]מִצְוָתָן → their mitzva [צ - ו - ה]שֶׁיִּהְיוּ → is that they will be [ה - י - ה]שְׁנֵיהֶן → both of them [ש - נ - ה]שָׁוִין → identical [ש - ו - ה]בְּמַרְאֶה → in appearance [ר - א - ה]וּבְקוֹמָה → and in height [ק - ו - ם]וּבְדָמִים → and in monetary value [ד - מ - ה]וּבִלְקִיחָתָן → and their acquisition [ל - ק - ח]כְּאֶחָד → as one [א - ח - ד]וְאַף → And even עַל → though [ע - ל - ה]פִּי → [so] [פ - ה - ה]שֶׁאֵינָן → they are not שָׁוִין → identical [ש - ו - ה]כְּשֵׁרִין → valid [כ - ש - ר]לָקַח → he acquired [ל - ק - ח]אֶחָד → one [א - ח - ד]הַיּוֹם → today [י - ו - ם]וְאֶחָד → and one [א - ח - ד]לְמָחָר → tomorrow [מ - ח - ר]כְּשֵׁרִין → they are valid [כ - ש - ר]מֵת → died [מ - ו - ת]אֶחָד → one [א - ח - ד]מֵהֶן → of them אִם → if עַד → before [ע - ד - ה]שֶׁלֹּא → [that] not הִגְרִיל → he drew the lots [ג - ר - ל]מֵת → died [מ - ו - ת]יִקַּח → he takes [ל - ק - ח]זוּג → a pair [ז - ו - ג]