Kitzur Likutei Moharan I, 12:8
And know that this learned man who speaks evil against the tzaddik is greatly intended by God, blessed be He. For the Holy One, blessed be He, casts a great tzaddik into the mouth of this learned man, so that through this the tzaddik will bring the Shechinah, that is, the Oral Torah, out of the exile that is in the mouth of the learned man. For the great and choicest tzaddikim know from which halakhot these evil combinations with which he speaks against the tzaddikim were formed in him. And they raise up these combinations and make halakhot out of these words, and through this he makes great and wondrous unifications; see there.
View original Hebrew
וְדַע שֶׁזֶּה הַלַּמְדָן שֶׁדּוֹבֵר רָעוֹת עַל הַצַּדִּיק הוּא מְכֻוָּן גָּדוֹל מֵאֵת הַשֵּׁם יִתְבָּרַךְ. שֶׁהַקָּדוֹשׁ בָּרוּךְ הוּא מַפִּיל צַדִּיק גָּדוֹל לְתוֹךְ פִּיו שֶׁל זֶה הַלַּמְדָן כְּדֵי שֶׁעַל יְדֵי זֶה יוֹצִיא הַצַּדִּיק הַשְּׁכִינָה הַיְנוּ הַתּוֹרָה שֶׁבְּעַל פֶּה מֵהַגָּלוּת שֶׁבְּפֶה הַלַּמְדָן. כִּי הַצַּדִּיקִים הַגְּדוֹלִים הַמֻּבְחָרִים יוֹדְעִים מֵאֵיזֶה הֲלָכוֹת נַעֲשּׂ אֶצְלוֹ אֵלּוּ הַצֵּרוּפִים רָעִים שֶׁמְּדַבֵּר עַל הַצַּדִּיקִים. וְהֵם מַעֲלִים אֵלּוּ הַצֵּרוּפִים וְעוֹשִׂים מֵאֵלּוּ הַדִּבּוּרִים הֲלָכוֹת וּמְיַחֵד בָּזֶה יִחוּדִים גְּדוֹלִים וְנִפְלָאִים עַיֵּן שָׁםRead this passage within Part I · Torah 12, in its full context