Before Moses merited the Torah, it is written of him, "I am not a man of words" (Exodus 4:10). Once he merited the Torah, his tongue was healed and he began to speak, as it is said, "These are the words that Moses spoke" (Deuteronomy 1:1). And so too in the time to come (Ezekiel 47:12), "and its leaf for healing" - whoever is mute, he sips and his tongue is healed and made fluent at once in words of Torah, as it is said (there), "and by the stream on its bank, on this side and on that, shall grow"; and "on this side and on that" means nothing but Torah, as it is said, "on this side and on that they were written" (Exodus 32:15). The Holy One, blessed be He, said: See the language of the Torah, that it heals the tongue, as it is said (Proverbs 15:4), "a healing tongue is a tree of life."
How the Torah Healed the Tongue of Moses
Yalkut Shimoni on Torah 172:6
עַד שֶׁלֹּא זָכָה מֹשֶׁה לַתּוֹרָה כְּתִיב בּוֹ לֹא אִישׁ דְּבָרִים אָנֹכִי. כֵּיוָן שֶׁזָּכָה לַתּוֹרָה, נִתְרַפֵּא לְשׁוֹנוֹ וְהִתְחִיל מְדַבֵּר, שֶׁנֶּאֱמַר "אֵלֶּה הַדְּבָרִים אֲשֶׁר דִּבֶּר מֹשֶׁה". וְכֵן לֶעָתִיד לָבֹא (יחזקאל מז, יב) "וְעָלֵהוּ לִתְרוּפָה", מִי שֶׁהוּא אִלֵּם, לוֹעֵט מִתְרַפֵּא לְשׁוֹנוֹ וּמְצֻחְצָח מִיָּד בְּדִבְרֵי תּוֹרָה, שֶׁנֶּאֱמַר (שם) "וְעַל הַנַּחַל יַעֲלֶה עַל שְׂפָתוֹ מִזֶּה וּמִזֶּה", וְאֵין "מִזֶּה וּמִזֶּה" אֶלָּא תּוֹרָה, שֶׁנֶּאֱמַר "מִזֶּה וּמִזֶּה הֵם כְּתוּבִים". אָמַר הַקָּדוֹשׁ בָּרוּךְ הוּא, רְאֵה לְשׁוֹנָה שֶׁל תּוֹרָה שֶׁמְּרַפֵּא אֶת הַלָּשׁוֹן, שֶׁנֶּאֱמַר (משלי טו, ד) "מַרְפֵּא לָשׁוֹן עֵץ חַיִּים".