ספר המדות Mitigating Judgment / Part I · טז
Sefer HaMiddot 623
טז. כְּשֶׁיֵּשׁ אֵיזֶהוּ דִּין עַל יִשְׂרָאֵל, חַס וְשָׁלוֹם, אֲזַי הַקָּדוֹשׁ־בָּרוּךְ־הוּא מוֹדִיעַ לַצַּדִּיקִים, כְּדֵי שֶׁיִּתְפַּלְּלוּ עַל יִשְׂרָאֵל, וּמִי שֶׁאֵינוֹ מִתְפַּלֵּל עֲלֵיהֶם, הַקָּדוֹשׁ־בָּרוּךְ־הוּא כּוֹעֵס עָלָיו.
16. When there is some din (judgement or contention) on the Jewish People, G-d forbid, the Holy One Blessed He notifies the tzadikim, so that they should pray for Israel, and whomever does not pray for them, the Holy One Blessed He is angry with them.