Mishneh Torah, Mourning 14:1-2
משנה תורה, הלכות אבל י״ד:א׳-ב׳
Mishneh Torah, Mourning 14:1-2
Rambam famously lists hachnasas orchim among acts of chesed whose reward is not limited to this world. The passage frames hospitality as a major mitzvah of lovingkindness that demands action and can outweigh a person's private spiritual attentiveness.
שְׂכַר הַלְּוָיָה מְרֻבֶּה מִן הַכּל. וְהוּא הַחֹק שֶׁחֲקָקוֹ אַבְרָהָם אָבִינוּ וְדֶרֶךְ הַחֶסֶד שֶׁנָּהַג בָּהּ. מַאֲכִיל עוֹבְרֵי דְּרָכִים וּמַשְׁקֶה אוֹתָן וּמְלַוֶּה אוֹתָן. וּגְדוֹלָה הַכְנָסַת אוֹרְחִים מֵהַקְבָּלַת פְּנֵי שְׁכִינָה. שֶׁנֶּאֱמַר (בראשית יח ב) "וַיַּרְא וְהִנֵּה שְׁלֹשָׁה אֲנָשִׁים". וְלִוּוּיָם יוֹתֵר מֵהַכְנָסָתָן. אָמְרוּ חֲכָמִים כָּל שֶׁאֵינוֹ מְלַוֶּה כְּאִלּוּ שׁוֹפֵךְ דָּמִים:
The reward one receives for accompanying guests is greater than all of the others. This is a statute which Abraham our Patriarch instituted and the path of kindness which he would follow. He would feed wayfarers, provide them with drink, and accompany them. Showing hospitality for guests surpasses receiving the Divine Presence as Genesis 18:3 states: "And he saw and behold there were three people." Accompanying them is greater than showing them hospitality. Our Sages said: "Whoever does not accompany them is considered as if he shed blood."