(Gen. 19:5:) "And they called to Lot <and said to him: Where are the men>… that we may know them" — for they sought to ravish them. Rabbi Hiyya bar Abba said: From here you learn that they were steeped in lewdness. He said to them (Gen. 19:8): "Behold now, I have two daughters who have not known a man." This teaches that he sought to bring <the angels> into the midst of his house, but his wife would not allow him. What did he do? He concealed them within his own beam. (Gen. 19:11:) "And they wearied themselves to find the door." Once <the angels> saw that <the men of Sodom> were worthy of destruction, they too rescued Lot. What is written there? (Gen. 19:23-25): "The sun had risen over the earth… and the Lord rained upon Sodom… and He overturned those cities." Lest you say He overturned it with His five fingers — Rabbi Ayyevu said: With one of His fingers He overturned the cities of Sodom, as it is said (Job 28:9): "He put forth His hand upon the flint." In the world to come, when the Holy One, blessed be He, heals Israel, He heals her, as it is said (Hos. 2:17): "And I will give her her vineyards from there" — "her vineyards," these are the prophets. "And the valley of Achor for a door of hope" (ibid.) — the valley which I troubled (achor) in My wrath shall be for a door of hope. At that hour they recite song, as it is said (ibid.): "And she shall answer there as in the days of her youth." And "answer" (anah) means nothing but song, as it is said (Ps. 147:7): "Sing (enu) to the Lord with thanksgiving."
Lot Hides the Angels and Sodom Falls by One Finger
Midrash Tanchuma Buber, Vayera 22:1
ויקראו אל לוט וגו' ונדעה אותם (שם יט ה). שבקשו לענותן, אמר ר' חייא בר אבא מכאן אתה למד שהיו שטופין בזמה, אמר להן הנה נא לי שתי בנות אשר לא ידעו איש (שם ח), מלמד שבקש להכניסן בתוך ביתו, ולא הניחה לו אשתו, מה עשה הכסינן לתוך הקורה שלו. וילאו למצוא הפתח (שם יא), כיון שראו שהן ראויין כליה אף הן הצילו את לוט, מה כתיב שם השמש יצא על הארץ וה' המטיר על סדום. ויהפך את הערים (בראשית יט כ כג כד כה), שמא תאמר בה' אצבעותיו הפכה, אמר ר' אייבו באחת מאצבעותיו הפכה לכרכי סדום, שנאמר בחלמיש שלח ידו (איוב כח ט). לעולם הבא כשירפא הקב"ה את ישראל מרפא אותה, שנאמר ונתתי לה את כרמיה משם)הושע ב יז), כרמיה אלו הנביאים, ואת עמק עכור לפתח תקוה (שם שם), עמק שעכרתי באפי לפתח תקוה, אותה שעה אומרים שירה, שנאמר וענתה שמה כימי נעוריה (שם שם), ואין וענתה אלא שירה, שנאמר ענו לה' בתודה (תהלים קמז ז).