Kitzur Likutei Moharan I, 3:4
Through studying Gemara at night a thread of kindness is drawn upon him, and he is saved from thoughts that are not for the sake of Heaven. And through this he rectifies the sound of melody, so that hearing the sound of the melody of the Other Side, which greatly harms the service of the Creator, blessed be He, will not harm him. And he merits to raise up the holy melody, so that he can cleave to God, blessed be He, through songs and melodies. And through this the holy Malkhut is raised up and elevated, and one merits exaltation, and he will be able to rule over whatever he wishes. One can also merit the aspect of prophecy.
View original Hebrew
עַל יְדֵי לִמּוּד גְּמָרָא בַּלַּיְלָה חוּט שֶׁל חֶסֶד נִמְשָׁךְ עָלָיו וְנִצּוֹל מִמַּחֲשָׁבוֹת שֶׁלּא לִשְׁמָהּ. וְעַל יְדֵי זֶה מְתַקֵּן קוֹל הַנְּגִינָה שֶׁלּא יַזִּיק לוֹ שְׁמִיעַת קוֹל נְגִינָה דְּסִטְרָא אַחֲרָא שֶׁמַּזֶּקֶת הַרְבֵּה מְאד לַעֲבוֹדַת הַבּוֹרֵא יִתְבָּרַךְ. וְזוֹכֶה לְהָקִים הַנְּגִינָה דִקְדֻשָּׁה שֶׁיּוּכַל לְדַבֵּק אֶת עַצְמוֹ לְהַשֵּׁם יִתְבָּרַךְ עַל יְדֵי זְמִירוֹת וְנִגּוּנִים. וְעַל יְדֵי זֶה מְקִימִין וּמַעֲלִין מַלְכוּת דִּקְדֻשָּׁה וְזוֹכִין לְהִתְנַשְׂאוּת וְיוּכַל לִמְשׁל בְּכָל מַה שֶּׁיִּרְצֶה. גַּם יְכוֹלִין לִזְכּוֹת לִבְחִינַת נְבוּאָה.Read this passage within Part I · Torah 3, in its full context