At the end of פרשת כי תשא, the פסוק says:

(ויהי ברדת משה מהר סיני וכו’ ומשה לא ידע כי קרן עור פניו בדברו אתו (לד:כט

“When Moshe descended from Mount Sinai . . . Moshe did not know that the skin of his face had become radiant when He (Hashem) had spoken to him”.

The Yalkut Shimoni (רמז תז) explains that when Moshe was up on the mountain writing the Torah, there was a small bit of leftover ink in his quill, which he wiped on his forehead and from that got his radiance. He then adds that when the צדיקים receive their reward in עולם הבא, Moshe will receive his due portion as well.

The Beis HaLevi comments that this medrash obviously needs explanation, especially the end; why would one think that Moshe would not get his just reward?  Furthermore, Rabbi Yehuda’s explanation of the origin of Moshe’s radiance does not seem to fit with the verse, which implies that Moshe’s radiance was a result of his speaking with Hashem.  However, this itself is as well difficult to understand, since Moshe had spoken with Hashem many times before – why specifically now did he shine?

The ילקוט earlier states that when Moshe came down from the mountain with the luchosLuchos in hand, ready to deliver them to the people, he realized that a terrible sin was occurring, that of the worship of the golden calf. At that time he looked at the luchos and saw the writing literally flying off the stone. This resulted in the luchos becoming too heavy to carry, and they fell from Moshe’s hands and broke. This medrash, too, needs explanation.

The Beis HaLevi explains: yet another medrash tells us that Moshe  learned all of Torah in its complete entirety, even that which a student will ask of his Rrebbe in the future. Upon asking Hashem if that too should be written down, he was told, “No, because I know that in the future other nations will rule over the Jewish people and will take their Torah. Just the פסוקים (the Written Torah) you may write down, but the משנה , תלמוד ואגד (the Oral Torah) you must transmit orally so that the nations will not be able to have it when they rule over the Jewish people.”

This medrash indicates that the reason part of the Torah needed to be transmitted orally was so that the other nations would not have it medrash Only regarding the Oral Torah does it say כרתי אתך ברית ואת ישראל that Hashem has a covenant with the Jewish people, meaning it is solely the Oral Torah which belongs only to us.

Now, it would seem that this discrepancy Read Full Dvar Torah →

As heard from R’ Yakov Minkus
 
ז. זְכֹר יְמוֹת עוֹלָם בִּינוּ שְׁנוֹת דּוֹר וָדוֹר שְׁאַל אָבִיךָ וְיַגֵּדְךָ זְקֵנֶיךָ וְיֹאמְרוּ לָךְ
7. Remember the days of old; reflect upon the years of [other] generations. Ask your father, and he will tell you; your elders, and they will inform you.
  
טז. יַקְנִאֻהוּ בְּזָרִים בְּתוֹעֵבֹת יַכְעִיסֻהוּ
16. They provoked His zeal with alien worship; they made Him angry with abominations deeds.

Ha’azinu is a repetition of history and everything that happened in the Torah so far for example:
 
The first letters in the first 4 psukim are:
ה = הַאֲזִינוּ
י =  יַעֲרֹף 
כ = כִּי
ה = הַצּוּר 
 
These four letter equal a gematria of 40, corresponding to the letter מ.  The 5th pasuk starts with a  שֶׁ and the sixth starts with a ‘ה’.     
מ + ש + ה = משה 
 
The Midrash Tanchuma says that an author usually writes his name at the end of his book. If we apply this here then Ha’azinu seems to be the end of the Torah, even though on first glance it seems that the parsha of V’Zos Habracha is the final parsha. However, if we look into it then we will see that in fact, V’Zos Habracha is not a halachic or historical parsha, it is ’merely’ Moshe’s farewell speech to the Jewish People and his Brachos to them.

In last week’s parsha, Nitzavim-Vayelech, it says, ‘כִּתְבוּ…הַשִּׁירָה הַזֹּאת’.

In this weeks parsha it says, ‘הַאֲזִינוּ הַשָּׁמַיִם…וְתִשְׁמַע הָאָרֶץ’ Finally, in the beginning of the Torah, parshas Bereishis it says, ‘ א. בְּרֵאשִׁית בָּרָא אֱ־לֹהִים אֵת הַשָּׁמַיִם וְאֵת הָאָרֶץ: The Sefer Yetzira says that the end of an era, or in this case, the Torah, reflects the beginning.

There is an argument as to whether the instruction of ‘כִּתְבוּ…הַשִּׁירָה הַזֹּאת’ is on Ha’azinu, or the whole torah. However, if we bring in the fact that the end should reflect the beginning, it is not a question, or an argument because they are inextricably linked and, essentially, one and the same.

There is a ‘יסוד’ – a ‘secret insight’ about the importance of Heaven and Earth, of שמים וארץ. In their essence, they interact through גשם – rain and the water cycle reflects this interaction, as we will now explain:

 
ג. כִּי שֵׁם יְ־הֹוָ־ה אֶקְרָא הָבוּ גֹדֶל לֵאלֹהֵינוּ
3. When I call out the name of the Lord, ascribe greatness to our God. (Devarim 32:3)
The Rambam explains, ‘כִּי שֵׁםה’ is in שמים and ’הָבוּ גֹדֶל’ is on the ארץ. Effectively, this means that we have בכירה - a free will to see the physical in this world, elevate it in our own way and aquire the ability to be spiritual. Creating our own spirituality through the pre-existing physicality of the world.
Rain, in its being, improves, fixes, nourishes and revitalises everything it ’touches’  and this is the ’שפע’ – ‘goodness’ from שמים that provides production in the world.

We, in our own way, can connect to שמים through two different mediums - תורה and תפילה.

Why do we daven for rain? For the obvious reason that we are not looking for the physical aspect – but for the recognition of Hashem’s hand and part in our day to day physical lives.
Through תפילה, we connect to שמים and bring it down to ארץ, and through תורה we elevate the world and bring it up to שמים
Rain has two states of being. One of them being the vapor state, where moisture evaporates and ‘rises’ into the sky, and it condenses and ‘descends’ to earth.

Ha’azinu is the summary of the purpose of creation - history has proven that when we acheive this function of linking שמים וארץ, life unfolds pleasantly, and when there hasn’t been a link, there has been devastation and destruction.

 
אז הוחל: (לשון חולין) לקרא את שמות האדם ואת שמות העצבים בשמו של הקב”ה לעשותן עבודה זרה ולקרותן אלהות:
Then it became common: הוּחַל, is an expression of חוּלִין – profaneness: to name people and idols with the name of the Holy One, blessed be He, to make them idols and to call them deities. (Bereishis 4:26)
During the time of the דור ענוש there was a lot of עבודה זרה. Shamayim was ‘stopped’ and as a result the seas swelled and consumed a third of the earth – thus proving that when we sin through שמים/ תפילה we get punished through the ארץ. 
 
On the other hand, during the דור המבול the Jews sinned through the land and therefore, suffered punishment through the שמים – it rained for 40 days and 40 nights. Thus proving that when we sin through ארץ  we get punished through שמים.
 
The Zohar says that the דור המבול should have received the תורה.    
 
120 years of שת’s life was taken in order for נח to be able to wait 120 years.  Then there was the 40 days of rain which was נגד הר סיני, and when הר סיני happened, people thought there would be another מבול.

‘Vatishaches ha’aretz’ - The תורה was there to be able to elevate the physical.

Hashem broke up the world into nations, and the Jews were the link בין שמים וארץ.
In the מדבר, and when we had the ananei hakavod with us, we were with hashem, and truly experienced שמים on the ארץ on our level. When we got to ארץ ישראל, we experienced an ארץ elevated closer to שמים.
If or when we lose ארץ ישראל, we lose the connection between שמים וארץ, and the other nations will have the power to overtake and dominate us.
 
To conclude, the pasuk says, ‘הַשִּׁירָה הַזֹּאת’  and we asked, ’is it ספר תורה or תפילה?’, the answer is that it is both. When we sing it as a prayer, its שמים בארץ. When we learn it, its ארץ לשמים.