On the seventh day of Adar, Moses knew that on this day he should have to die, for a heavenly voice resounded, saying, "Take heed to thyself, O Moses, for thou hast only one more day to live."  What did Moses now do? On this day he wrote thirteen scrolls of the Torah, twelve for the twelve tribes, and one he put into the Holy Ark, so that, if they wished to falsify the Torah, the one in the Ark might remain untouched. Moses thought, "If I occupy myself with the Torah, which is the tree of life, this day will draw to a close, and the impending doom will be as naught." God, however, beckoned to the sun, which firmly opposed itself to Moses, saying, "I will not set, so long as Moses lives."  When Moses had completed writing the scrolls of the Torah, not even half the day was over. He then bade the tribes come to him, and from his hand receive the scrolls of the Torah, admonishing the men and women separately to obey the Torah and its commands. The most excellent among the thirteen scrolls was fetched by Gabriel, who brought it to the highest heavenly court to show the piety of Moses, who had fulfilled all that is written in the Torah. Gabriel passed with it through all the heavens, so that all might witness Moses' piety. It is this scroll of the Torah out of which the souls of the pious read on Monday and Thursday, as well as on the Sabbath and holy days.
Moses on this day showed great honor and distinction to his disciple Joshua in the sight of all Israel. A herald passed before Joshua through all the camp, proclaiming, "Come and hear the words of the new prophet that hath arisen for us to-day!" All Israel approached to honor Joshua. Moses then gave the command to fetch hither a golden throne, a crown of pearls, a royal helmet, and a robe of purple. He himself set up the rows of benches for the Sanhedrin, for the heads of the army, and for the priests. Then Moses betook himself to Joshua, dressed him, put the crown on his head, and bade him be seated upon the golden throne to deliver from it a speech to the people. Joshua then spoke the following words which he first whispered to Caleb, who then announced it in a loud voice to the people. He said: "Awaken, rejoice, heavens of heavens, ye above; sound joyously, foundations of earth, ye below. Awaken and proclaim aloud, ye orders of creation; awaken and sing, ye mountains everlasting. Exult and shout in joy, ye hills of earth, awaken and burst into songs of triumph, ye hosts of heaven. Sing and relate, ye tents of Jacob, sing, ye dwelling place of Israel. Sing and hearken to all the words that come from your King, incline you heart to all His words, and gladly take upon yourselves and your souls the commandments of your God. Open your mouth, let your tongue speak, and give honor to the Lord that is your Helper, give thanks to your Lord and put your trust in Him. For He is One, and hath no second, there is none like Him among the gods, not one among the angels is like Him, and beside Him is there none that is your Lord. To His praise there are no bounds; to His fame no limit, no end; to His miracles no fathoming; to His works no number. He kept the oath that He swore to the Patriarchs, through our teacher Moses. He fulfilled the covenant with them, and the love and the vow He had made them, for He delivered us through many miracles, led us from bondage to freedom, clove for us the sea, and bestowed upon us six hundred and thirteen commandments."
When Joshua had completed his discourse, a voice resounded from heaven, and said to Moses, "Thou hast only five hours more of life." Moses called out to Joshua, "Stay seated like a king before the people!" Then both began to speak before all Israel; Moses read out the text and Joshua expounded. There was no difference of opinion between them, and the words of the two matched like the pearls in a royal crown. But Moses' countenance shone like the sun, and Joshua's like the moon.
While Joshua and all Israel still sat before Moses, a voice from heaven became audible and said, "Moses, thou hast now only four hours of life." Now Moses began to implore God anew: "O Lord of the world! If I must die only for my disciple's sake, consider that I am willing to conduct myself as if I were his pupil; let it be as if he were high priest, and I a common priest; he is king, and I his servant." God replied: "I have sworn by My great name, which ' the heaven and heaven of heavens cannot contain,' that thou shalt not cross the Jordan." Moses: "Lord of the world! Let me at least, by the power of the Ineffable Name, fly like a bird in the air; or make me like a fish transform my two arms to fins and my hair to scales, that like a fish I may leap over the Jordan and see the land of Israel." God: "If I comply with thy wish, I shall break My vow." Moses: "Lord of the world! Lead me upon the pinions of the clouds about three parasangs high beyond the Jordan, so that the clouds be below me, and I from above may see the land." God replied: "This, too, seems to Me like a breaking of My vow." Moses: "Lord of the world! Cut me up, limb by limb, throw me over the Jordan, and then revive me, so that I may see the land." God: "That, too, would be as if I had broken My vow." Moses: "Let me skim the land with my glance." God: "In this point will I comply with thy wish. 'Thou shalt see the land before thee; but thou shalt not go thither.'" God thereupon showed him all the land of Israel, and although it was a square of four hundred parasangs, still God imparted such strength to Moses' eyes that he could oversee all the land. What lay in the deep appeared to him above, the hidden was plainly in view, the distant was close at hand, and he saw everything.