ספר המדות, A Righteous Person / Part I A Righteous Person / Part I · קצט
Sefer HaMiddot 2210
קצט. לִפְעָמִים הַצַּדִּיק מִתְבַּיֵּשׁ לְבַקֵּשׁ מֵהַקָּדוֹשׁ בָּרוּךְ הוּא עַל צַעֲרוֹ מַה עוֹשֶׂה הַקָּדוֹשׁ בָּרוּךְ הוּא מֵבִיא צַעַר כָּזֶה עַל רָשָׁע כְּדֵי כְּשֶׁהָרָשָׁע בָּא וּמְבַקֵּשׁ מִמֶּנּוּ שֶׁיִּתְפַּלֵּל עָלָיו עַל יְדֵי זֶה נִצּוֹל גַּם הַצַּדִּיק מִצַּעֲרוֹ.
199. Sometimes a tzaddik is ashamed to pray to the Holy One Blessed He about his personal suffering. What does the Holy One Blessed He do? He brings similar suffering upon an evildoer, so that when the evildoer comes and asks from him (the tzaddik) to pray for him, and through this, the tzaddik is also saved from his suffering.