"And none of you shall go out from the door of his house until morning" (Exodus 12:22). As it says, "Come, my people, enter your chambers" (Isaiah 26:20) - to teach you that one should enter while it is still good light and go out while it is good light. And so you find that the patriarchs and the prophets conducted themselves in the way of the world (proper conduct). As it says, "And Abraham rose early in the morning" (Genesis 22:3); "And Jacob rose early in the morning"; "And Moses rose early in the morning" (Exodus 34:4); "And Samuel rose early to meet Saul in the morning" (1 Samuel 15:12). And these matters are an argument from minor to major: if the patriarchs and the prophets, who went to do the will of the One who spoke and the world came into being, conducted themselves in the way of the world, how much more so all other people. And so it says, "You make darkness and it is night... the young lions roar after their prey... You give to them, they gather it in" (Psalms 104:20-21,28). And it says, "The sun rises, they are gathered in" - from then onward, "man goes out to his labor" (Psalms 104:22-23). And it says, "How manifold are Your works, O LORD; in wisdom You made them all" (Psalms 104:24).
None Shall Go Out Until Morning and the Way of the Patriarchs
Yalkut Shimoni on Torah 206:3
(שמות יב כג) וְאַתֶּם לֹא תֵצְאוּ אִישׁ מִפֶּתַח בֵּיתוֹ עַד בֹּקֶר. שֶׁנֶּאֱמַר (ישעיה כו, כ) "לֵךְ עִמִי בֹּא בַחֲדָרֶיךָ וְגוֹ' לְלַמֶּדְךָ שֶׁתְּהֵא נִכְנָס בְּכִי טוֹב וְיוֹצֵא בְּכִי טוֹב, וְכֵן אַתָּה מוֹצֵא שֶׁהָיוּ אָבוֹת וְהַנְּבִיאִים נוֹהַגִין בְּדֶרֶךְ אֶרֶץ, שֶׁנֶּאֱמַר (בראשית כב, ג) "וַיַּשְׁכֵּם אַבְרָהָם בַּבֹּקֶר", "וַיַּשְׁכֵּם יַעֲקֹב בַּבֹּקֶר" (שמות לד, ד) "וַיַּשְׁכֵּם מֹשֶׁה בַּבֹּקֶר", (שמואל א טו, יב) "וַיַּשְׁכֵּם שְׁמוּאֵל לִקְרַאת שָׁאוּל בַּבֹּקֶר", וַהֲרֵי דְּבָרִים קַל וָחוֹמֶר, וּמָה אִם אָבוֹת וְהַנְּבִיאִים שֶׁהָלְכוּ לַעֲשׂוֹת רְצוֹן שֶׁל מִי שֶׁאָמַר וְהָיָה הָעוֹלָם נָהֲגוּ בְּדֶרֶךְ אֶרֶץ, עַל אַחַת כַּמָּה וְכַמָּה שְׁאֲר כָּל אָדָם. וְכֵן הוּא אוֹמֵר (תהלים קד, כ כא) "תָּשֶׁת חֹשֶׁךְ וִיהִי לָילָה וְגוֹ' הַכְּפִירִים שֹׁאֲגִים לַטֶּרֶף וְגוֹ' תִּתֵּן לָהֶם יִלְקֹטוּן". וְאוֹמֵר "תִּזְרַח הַשֶּׁמֶשׁ יֵאָסֵפוּן" מִּכַּאן וָאֵילַךְ (שם כג) "יֵצֵא אָדָם לְפָעֳלוֹ", וְאוֹמֵר מָה רַבּוּ מַעֲשֶׂיךָ ה' כֻּלָם בְּחָכְמָה עָשִׂיתָ.