The Zohar · Vayera
זוהר, וירא י׳Zohar, Vayera 10
Section 10 of 36 in Vayera — 11 segments
Segment 1א׳
כֵּיוָן דְּאִתְבַּשַּׂר אַבְרָהָם בְּיִצְחָק, מַה כְּתִיב וַיָּקוּמוּ מִשָּׁם הָאֲנָשִׁים וַיַּשְׁקִיפוּ עַל פְּנִי סְדוֹם. רַבִּי אֶלְעָזָר אָמַר תָּא חֲזֵי, כַּמָּה אַנְהַג קוּדְשָׁא בְּרִיךְ הוּא טִיבוּ עִם כָּל בְּרִיָין וְכָל שֶׁכֵּן לְאִנּוּן דְּאָזְלֵי בְּאָרְחוֹי, דְּאָפִילּוּ בְּזִמְנָא דְּבָעֵי לְמֵידַן עָלְמָא, אִיהוּ גָּרִים לְמַאן דְרָחִים לֵיהּ לְמִזְכֵּי בְּמִלָּה עַד לָא יֵיתֵי הַהוּא דִּינָא לְעָלְמָא.
Having related how Abraham was informed of the coming birth of Isaac, the Scripture proceeds: AND THE MEN ROSE UP FROM THENCE, AND LOOKED OUT TOWARD SODOM. Said R. Eleazar: ‘Observe how merciful the Holy One, blessed be He, shows Himself towards all beings, and especially towards those who walk in His paths. For when He is about to execute judgement on the world, before doing so He puts in the way of His beloved the occasion of performing a good act.
Segment 2ב׳
דְּתָנִינָן בְּשַׁעֲתָא דְּקוּדְשָׁא בְּרִיךְ הוּא רָחִים לֵיהּ לְבַּר נָשׁ, מְשַׁדֵּר לֵיהּ דּוֹרוֹנָא, וּמַאן אִיהוּ, מִסְּכֵּנָא, בְּגִין דְּיִזְכֵּי בֵּיהּ. וְכֵיוָן דְּזָכֵי בֵּיהּ, אִיהוּ אַמְשִׁיךְ עֲלֵיהּ חַד חוּטָא דְּחֶסֶד דְּאִתְמְשַׁךְ מִסְּטַר יָמִינָא וּפָרִישׂ אֲרֵישֵׁיהּ וְרָשִׁים לֵיהּ, בְּגִין דְּכַד יֵיתֵי דִינָא לְעָלְמָא הַהוּא מְחַבְּלָא יִזְדְּהַר בֵּיהּ, וְזָקֵיף עֵינוֹי וְחָמָא לְהַהוּא רְשִׁימוּ וּכְדֵין אִסְתַּלַּק מִנֵּיהּ וְאִזְדְּהַר בֵּיהּ. בְּגִינֵי כָךְ אַקְדִּים לֵיהּ קוּדְשָׁא בְּרִיךְ הוּא בְּמָּה דְּיִזְכֵּי.
We have thus been taught that when the Holy One loves a man, He sends him a present in the shape of a poor man, so that he should perform some good deed to him, through the merit of which he shall draw to himself a cord of grace from the right side which shall wind round his head and imprint a mark on him, so that, when punishment falls on the world, the destroyer, raising his eyes and noticing the mark, will be careful to avoid him and leave him alone.
Segment 3ג׳
וְתָּא חֲזֵי, כַּד בָּעֵי קוּדְשָׁא בְּרִיךְ הוּא לְאַיְתָאָה דִּינָא עַל סְדוֹם, אַזְכֵּי קֹדֶם לְאַבְרָהָם וְשַׁדַּר לֵיהּ דּוֹרוֹנָא לְמִזְכֵּי עִמְּהוֹן בְּגִין לְשֵׁזָבָא לְלוֹט בַּר אֲחוּהָ מִתַּמָּן, הֲדָא הוּא דִכְתִיב וַיִּזְכֹּר אֱלֹהִים אֶת אַבְרָהָם וַיְשַׁלַּח אֶת לוֹט מִתּוֹךְ הַהֲפֵכָה. וְלָא כְּתִיב וַיִּזְכֹּר אֱלֹהִים אֶת לוֹט, דְּהָא בִּזְכוּתֵיהּ דְּאַבְרָהָם אִשְׁתְּזִיב. וּמַאי וַיִּזְכֹּר, דְּדָכִיר לֵיהּ מַאי דְּאַזְכֵּי קֹדֶם עִם אִנּוּן תְּלַת מַלְאָכִין.
So when the Holy One was about to execute judgement on Sodom, He first led Abraham to do a meritorious action by the present which He sent him, so as thereby to save Lot his brother’s son from destruction. It is therefore written, “And God remembered Abraham, and sent Lot out of the midst of the overthrow” (Gen. 19, 29). It does not say that God remembered Lot, since he was saved through the merit of Abraham. What God remembered was the kindness which Abraham had shown to those three angels.
Zohar — Vocalized Zohar, Israel 2013, via Sefaria
English: The Zohar — Soncino Press, London 1933 (public domain)