And it came to pass in the third year after Moshe was born [this is year 2371] that Pharaoh sat to eat, and Alparanit the queen sat on his right and Batya on his left. And the lad Moshe sat on her lap, and Bilam son of Beor and his two sons and all the princes of the kingdom were before him. And the lad stretched out his hand and took the crown from the head of the king and placed it on his own head, etc. [see Midrash Shemot section 176 - the entire matter, but there is some omission, and it should be corrected] from the children of the Hebrews upon whom the spirit of God, etc.
And they brought the onyx and the coal, and the child sought to stretch out his hand to the onyx, and the angel took his hand and placed it on the coal, etc. And his mouth became heavy and his tongue heavy. And the king and the princes refrained from killing him, etc. And Moshe was in the house of Pharaoh, growing in stature, and HaShem was with him.
And his garments were purple, and all the house of Pharaoh honored him and feared him. And he went out and came day by day to the land of Goshen where his brothers, all the children of Israel, were. And he asked them about this labor, and they told him the things that happened to them and the decrees that Pharaoh had placed upon them before he was born, and what Bilam son of Beor had advised against them, and what he had also advised against him when he took the crown from the head of the king, etc.
And Moshe was angry and sought to kill Bilam, and he lay in wait for him day by day. And this was reported to Bilam, and he feared greatly and fled with his sons to the land of Cush, to Kikiyanos king of Cush, etc. And Moshe requested from Pharaoh: "Let your servants in the land of Goshen rest one day to rest from their labor." And Pharaoh did so and commanded that six days they should work and on the seventh they should rest.
And Moshe rejoiced greatly in this matter [Sefer HaYashar]. In Egypt there are in writing many things about Moshe Rabbeinu [Midrash].