ספר המדות Mitigating Judgment / Part I · לה
Sefer HaMiddot 642
לה. עַל־יְדֵי צְדָקָה שֶּׁנּוֹתְנִין לְאָדָם הָגוּן, תִּזְכֶּה לְהַמְשִׁיךְ חֶסֶד גַּם לְאוֹהַבְךָ.
34. Through cognizance, kindness is drawn forth (t.n. See also Likutay Moharan Torah 119 and in many other places. Also see Torah 13 where Rabbi Nachman reveals the opposite -- that through kindness one draws cognizance).