The Kebra Nagast, by E.A. Wallis Budge, , at sacred-texts.com
And then NOAH the righteous man died, and SHEM reigned in wisdom and righteousness, for he was blessed by NOAH, saying, "Be God to thy brother." And to HAM he said, "Be servant to thy brother." And he said unto JAPHET, "Be thou servant to SHEM my heir, and be thou subject unto him."2 And again, after the Flood, the Devil, our Enemy, did not cease from his hostility against the children of NOAH, but stirred up CANAAN, the son of HAM, and he became the violent tyrant (or usurper) who rent the kingdom from the children of SHEM. Now they had divided the earth among them, and NOAH had made them swear by the Name of his God that they would not encroach on each other's boundaries, and would not eat the beast that had died of itself or had been rent [by wild animals], and that they would not cultivate harlotry against the law, lest God should again become angry with them and punish them with a Flood. And as for NOAH, he humbled himself, and offered up sacrifice, and he cried out, and groaned, and wept. And God held converse with NOAH, who said [unto Him], "If Thou wilt destroy the earth a second time with a Flood, blot Thou me out with those who are to perish." And God said unto him, "I will make a covenant with thee that thou shalt tell thy children they shall not eat p. 7 the beast that hath died of itself or that hath been torn by wild beasts, and they shall not cultivate harlotry against the law; and I, on My part, [covenant] that I will not destroy the earth a second time with a Flood, and that I will give unto thy children Winter and Summer, Seedtime and Harvest, Autumn and Spring.1
2 Compare Genesis ix. 25-27.
1 Genesis viii. 21; and compare Genesis ix. 4.