The Talmud
בבא בתרא דף ט״וBaba Batra 15a
Amud a of Baba Batra 15 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Bava Batra 15a · בבא בתרא ט״ו א
ועל ידי שלשה בני קרח
— and by means of the three sons of Korah.
ירמיה כתב ספרו וספר מלכים וקינות חזקיה וסיעתו כתבו (ימש"ק סימן) ישעיה משלי שיר השירים וקהלת אנשי כנסת הגדולה כתבו (קנד"ג סימן) יחזקאל ושנים עשר דניאל ומגילת אסתר עזרא כתב ספרו ויחס של דברי הימים עד לו
Jeremiah wrote his book and the book of Kings and Lamentations. Hezekiah and his company wrote (A mnemonic: YMShK.) Isaiah, Proverbs, Song of Songs and Ecclesiastes. The Men of the Great Assembly wrote (A mnemonic: KNDG.) Ezekiel and the Twelve, Daniel and the scroll of Esther. Ezra wrote his book and the genealogy of Chronicles up to himself.
מסייעא ליה לרב דאמר רב יהודה אמר רב לא עלה עזרא מבבל עד שיחס עצמו ועלה ומאן אסקיה נחמיה בן חכליה
This supports Rav, for Rav Yehuda said in the name of Rav: Ezra did not come up from Babylonia until he had traced his own lineage, and then he came up. And who completed it? Nehemiah the son of Hacaliah.
אמר מר יהושע כתב ספרו ושמונה פסוקים שבתורה תניא כמאן דאמר שמונה פסוקים שבתורה יהושע כתבן דתניא (דברים לד, ה) וימת שם משה עבד ה' אפשר משה (מת) וכתב וימת שם משה אלא עד כאן כתב משה מכאן ואילך כתב יהושע דברי ר"י ואמרי לה ר' נחמיה
The Master said: Joshua wrote his book and the eight verses that are in the Torah. It was taught in accordance with the one who says Joshua wrote the eight verses that are in the Torah. For it was taught: "so Moses the servant of the Lord died there" (Deuteronomy 34:5) — is it possible that Moses died and wrote "so Moses died there"? Rather, up to here Moses wrote; from here on Joshua wrote. These are the words of Rabbi Yehuda; and some say: Rabbi Nechemya.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.