ת"ר ארבעים ושמונה נביאים ושבע נביאות נתנבאו להם לישראל ולא פחתו ולא הותירו על מה שכתוב בתורה חוץ ממקרא מגילה.....
מיהוה טובא הוו כדתניא הרבה נביאים עמדו להם לישראל כפלים כיוצאי מצרים אלא נבואה שהוצרכה לדורות נכתבה ושלא הוצרכה לא נכתבה
שבע נביאות מאן נינהו שרה מרים דבורה חנה אביגיל חולדה ואסתר
The Sages taught in a baraita: Forty-eight prophets and seven prophetesses prophesied on behalf of the Jewish people, and they neither subtracted from nor added onto what is written in the Torah, introducing no changes or additions to the mitzvot except for the reading of the Megilla, which they added as an obligation for all future generations.
The Gemara answers: In fact, there were more prophets, as it is taught in a baraita: Many prophets arose for the Jewish people, numbering double the number of Israelites who left Egypt. However, only a portion of the prophecies were recorded, because only prophecy that was needed for future generations was written down in the Bible for posterity, but that which was not needed, as it was not pertinent to later generations, was not written. (Therefore, the fifty-five prophets recorded in the Bible, although not the only prophets of the Jewish people, were the only ones recorded, due to their eternal messages.)
§ The Gemara asks with regard to the prophetesses recorded in the baraita: Who were the seven prophetesses? The Gemara answers: Sarah, Miriam, Deborah, Hannah, Abigail, Huldah, and Esther.
... תנו רבנן סדרן של נביאים יהושע ושופטים שמואל ומלכים ירמיה ויחזקאל ישעיה ושנים עשר מכדי הושע קדים דכתיב (הושע א, ב) תחלת דבר ה' בהושע וכי עם הושע דבר תחלה והלא ממשה ועד הושע כמה נביאים היו וא"ר יוחנן שהיה תחלה לארבעה נביאים שנתנבאו באותו הפרק ואלו הן הושע וישעיה עמוס ומיכה וליקדמיה להושע ברישא כיון דכתיב נבואתיה גבי חגי זכריה ומלאכי וחגי זכריה ומלאכי סוף נביאים הוו חשיב ליה בהדייהו וליכתביה לחודיה וליקדמיה איידי דזוטר מירכס מכדי ישעיה קדים מירמיה ויחזקאל ליקדמיה לישעיה ברישא כיון דמלכים סופיה חורבנא וירמיה כוליה חורבנא ויחזקאל רישיה חורבנא וסיפיה נחמתא וישעיה כוליה נחמתא סמכינן חורבנא לחורבנא ונחמתא לנחמתא: סידרן של כתובים רות וספר תהלים ואיוב ומשלי קהלת שיר השירים וקינות דניאל ומגילת אסתר עזרא ודברי הימים ולמאן דאמר איוב בימי משה היה ליקדמיה לאיוב ברישא אתחולי בפורענותא לא מתחלינן רות נמי פורענות היא פורענות דאית ליה אחרית דאמר רבי יוחנן למה נקרא שמה רות שיצא ממנה דוד שריוהו להקב"ה בשירות ותושבחות ומי כתבן משה כתב ספרו ופרשת בלעם ואיוב יהושע כתב ספרו ושמונה פסוקים שבתורה שמואל כתב ספרו ושופטים ורות דוד כתב ספר תהלים על ידי עשרה זקנים ע"י אדם הראשון על ידי מלכי צדק ועל ידי אברהם וע"י משה ועל ידי הימן וע"י ידותון ועל ידי אסף
..The Sages taught: The order of the books of the Prophets when they are attached together is as follows: Joshua and Judges, Samuel and Kings, Jeremiah and Ezekiel, and Isaiah and the Twelve Prophets. The Gemara asks: Consider: Hosea preceded some of the other prophets whose books are included in the Bible, as it is written: “The Lord spoke first to Hosea” (Hosea 1:2). At first glance this verse is difficult: But did God speak first with Hosea, and not with any other prophet before him? Weren’t there many prophets between Moses and Hosea? And Rabbi Yoḥanan says: He was the first of four prophets who prophesied in that period, and they were: Hosea and Isaiah, Amos and Micah. Accordingly, Hosea preceded those three prophets; and the book of Hosea as well should precede the books of those prophets. The Gemara answers: Since his prophecy is written together with those of Haggai, Zechariah, and Malachi in one book of the Twelve Prophets, and Haggai, Zechariah, and Malachi were the last of the prophets, he is counted with them. The Gemara inquires: But let the book of Hosea be written separately and let it precede the others. The Gemara answers: Were it written separately, since it is small it would be lost. The Gemara further asks: Consider: Isaiah preceded Jeremiah and Ezekiel; let the book of Isaiah precede the books of those other prophets. The Gemara answers: Since the book of Kings ends with the destruction of the Temple, and the book of Jeremiah deals entirely with prophecies of the destruction, and the book of Ezekiel begins with the destruction of the Temple but ends with consolation and the rebuilding of the Temple, and Isaiah deals entirely with consolation, as most of his prophecies refer to the redemption, we juxtapose destruction to destruction and consolation to consolation. This accounts for the order: Jeremiah, Ezekiel, and Isaiah. The baraita continues: The order of the Writings is: Ruth and the book of Psalms, and Job and Proverbs; Ecclesiastes, Song of Songs, and Lamentations; Daniel and the Scroll of Esther; and Ezra and Chronicles. The Gemara asks: And according to the one who says that Job lived in the time of Moses, let the book of Job precede the others. The Gemara answers: We do not begin with suffering, i.e., it is inappropriate to start the Writings with a book that deals so extensively with suffering. The Gemara asks: But the book of Ruth, with which the Writings opens, is also about suffering, since it describes the tragedies that befell the family of Elimelech. The Gemara answers: This is suffering which has a future of hope and redemption. As Rabbi Yoḥanan says: Why was she named Ruth, spelled reish, vav, tav? Because there descended from her David who sated, a word with the root reish, vav, heh, the Holy One, Blessed be He, with songs and praises. The baraita now considers the authors of the biblical books: And who wrote the books of the Bible? Moses wrote his own book, i.e., the Torah, and the portion of Balaam in the Torah, and the book of Job. Joshua wrote his own book and eight verses in the Torah, which describe the death of Moses. Samuel wrote his own book, the book of Judges, and the book of Ruth. David wrote the book of Psalms by means of ten elders of previous generations, assembling a collection that included compositions of others along with his own. He included psalms authored by Adam the first man, by Melchizedek king of Salem, and by Abraham, and by Moses, and by Heman, and by Jeduthun, and by Asaph,

