Talmud, Tractate Megillah
Composed in Talmudic Babylon (c.450 - c.550 CE). Megillah (Scroll) belongs to the second order, Moed (Festivals) and discusses regulations and prescriptions regarding the reading of the scroll of Esther at Purim, and the reading of other passages from the Torah and Neviim (Prophets) in the synagogue. It has four chapters.
איש יהודי היה בשושן הבירה וגו' איש ימיני מאי קאמר אי ליחוסא קאתי ליחסיה ואזיל עד בנימין אלא מאי שנא הני
The verse that initially describes Mordecai states: “There was a certain Jew in Shushan the castle, whose name was Mordecai the son of Jair the son of Shimei the son of Kish, a Benjamite” (Esther 2:5). The Gemara asks: What is it conveying in the verse by saying the names of Mordecai’s ancestors? If the verse in fact comes to trace his ancestry, it should continue tracing his lineage back all the way to Benjamin, the founder of his tribe. Rather, what is different about these names that they deserve special mention?
Mishnah Torah
Composed in Middle-Age Egypt (c.1176 - c.1178 CE). The fourteenth book is Sefer Shofetim (Judges: the laws relating legislators, the Sanhedrin, the king, and the judges — it also addresses the Noahide Laws and those pertaining to Messianic times).
בִּימֵי הַמֶּלֶךְ הַמָּשִׁיחַ. כְּשֶׁתִּתְיַשֵּׁב מַמְלַכְתּוֹ וְיִתְקַבְּצוּ אֵלָיו כָּל יִשְׂרָאֵל. יִתְיַחֲסוּ כֻּלָּם עַל פִּיו בְּרוּחַ הַקֹּדֶשׁ שֶׁתָּנוּחַ עָלָיו. שֶׁנֶּאֱמַר (מלאכי ג, ג) "וְיָשַׁב מְצָרֵף וּמְטַהֵר" וְגוֹ'. וּבְנֵי לֵוִי מְטַהֵר תְּחִלָּה וְאוֹמֵר זֶה מְיֻחָס כֹּהֵן וְזֶה מְיֻחָס לֵוִי. וְדוֹחֶה אֶת שֶׁאֵינָן מְיֻחָסִין לְיִשְׂרָאֵל. הֲרֵי הוּא אוֹמֵר (עזרא ב, סג) "וַיֹּאמֶר הַתִּרְשָׁתָא לָהֶם" וְגוֹ' (עזרא ב, סג) "עַד עֲמֹד כֹּהֵן לְאוּרִים וּלְתֻמִּים". הִנֵּה לָמַדְתָּ שֶׁבְּרוּחַ הַקֹּדֶשׁ מְיַחֲסִין הַמֻּחְזָקִין וּמוֹדִיעִין הַמְיֻחָס. וְאֵינוֹ מְיַחֵס יִשְׂרָאֵל אֶלָּא לְשִׁבְטֵיהֶם. שֶׁמּוֹדִיעַ שֶׁזֶּה מִשֵּׁבֶט פְּלוֹנִי וְזֶה מִשֵּׁבֶט פְּלוֹנִי. אֲבָל אֵינוֹ אוֹמֵר עַל שֶׁהֵן בְּחֶזְקַת כַּשְׁרוּת זֶה מַמְזֵר וְזֶה עֶבֶד. שֶׁהַדִּין הוּא שֶׁמִּשְׁפָּחָה שֶׁנִּטְמְעָה נִטְמְעָה: