La Genèse 5:1 Midrash : Bamidbar Rabbah, Midrash Tanchuma, Midrash Tanchuma Buber & Kohelet Rabbah

זֶ֣ה סֵ֔פֶר תּוֹלְדֹ֖ת אָדָ֑ם בְּי֗וֹם בְּרֹ֤א אֱלֹהִים֙ אָדָ֔ם בִּדְמ֥וּת אֱלֹהִ֖ים עָשָׂ֥ה אֹתֽוֹ׃

Ceci est l’histoire des générations de l’humanité. Lorsque Dieu créa l’être humain, il le fit à sa propre ressemblance.

Bamidbar Rabbah

And these are the generations of Aaron and Moses on the day that God spoke to Moses on Mount Sinai (Numbers 3:1).
Anyone with whom the Omnipresent engages to establish a nation or a family tree from him, the Omnipresent would also engage with him to write generations in his regard, as you find twelve instances of generations in the verses. The first: “These are the generations of the heavens and the earth” (Genesis 2:4); “this is the book of the generations of Adam” (Genesis 5:1); “these are the generations of Noah” (Genesis 6:9); “these are the generations of the sons of Noah” (Genesis 10:1): “these are the generations of Shem” (Genesis 11:10); “these are the generations of Teraḥ” (Genesis 11:27); “these are the generations of Ishmael” (Genesis 25:12); “Isaac” (Genesis 25:19); “Esau” (Genesis 36:1); “Jacob” (Genesis 37:2). These are ten generations with which the Holy One blessed be He engaged to create the world and to establish nations. And there are two people that the Omnipresent wrote their generationst, one for the royal dynasty and one for the priestly dynasty: “These are the generations of Peretz” (Ruth 4:18), to establish the royal dynasty from him, and “these are the generations of Aaron and Moses"(Numbers 3:1), for the priestly dynasty.

Midrash Tanchuma

"Lord God, You have begun" (Deuteronomy 3:24): There is a [relevant] parable: To what is this comparable? To a king that saw an orphaned woman and sought to marry her. He sent to propose to her. She said, "I am not fit to marry the king." He sent [again] and proposed seven times, but she did not listen to him. After a while, she married the king. [Later,] the king got angry with her and sought to divorce her and marry another [woman]. The first one said, "I have no shame if you divorce me, as it is you who sought me to begin with. However since you are divorcing me, I plead with you, do not do to this [wife] like what you have done to me." So [too] did the Holy One, blessed be He, do to Moshe. He seduced him for seven days. And [Moshe] said to him (Exodus 4:10), "I am not a man of words." After a while, the Holy One, blessed be He, appeased him. [So] he went on His mission, and all of the miracles happened through him. In the end, [God] said to him, "For 'you shall not enter [the land]'" (Deuteronomy 32:52). [So] Moshe our teacher said to Him, "Master of the world, if You do not want me to bring them to the land, I have no shame, as 'You began,'" which is an expression of beginning; "but since You have decreed this upon me, do not do to the one who brings them like You have done to me, 'That he should go in front of them [...] and that he bring them' (Numbers 27:17)." "And the Lord said to me, 'It is enough (rav) for you; do not add'" (Deuteronomy 3:26). As your opponent has preceded you. As so did Iyov state (Job 31:35), "O that I had someone to give me a hearing; O that the Omnipresent would reply to my writ, or my opponent (eesh rivi) write a book (a bill of charges)!" And which book [is that]? "This is the book of the generations of Adam" (Genesis 5:1, as Adam brought death to the world). What did Job say? "Small and great are there, and the slave is free of his master" (Job 3:19). Therefore, "It is enough."

Midrash Tanchuma Buber

When the first Adam ate from the tree, he caused death for all. Another interpretation (of Deut. 3:26): SO THE LORD SAID UNTO ME: ENOUGH FROM YOU! The litigant against you has already preceded you, as Job has already stated (in Job 31:35): O THAT SOMEONE WOULD GIVE ME A HEARING! [HERE IS MY SIGNATURE. LET THE ALMIGHTY ANSWER ME, AND LET MY ACCUSER WRITE A TRUE BILL (literally: A BOOK.] Which [BOOK]? (Gen. 5:1:) THIS IS THE BOOK OF THE GENERATIONS OF ADAM. So what did Job say (in Job 3:19)? THE SMALL AND THE GREAT ARE THERE, AND THE SLAVE ('eved) IS FREE FROM HIS MASTERS. Ergo (in Deut. 3:26): ENOUGH FROM YOU! DO NOT <EVER> SPEAK <UNTO ME ON THIS MATTER> AGAIN.