סימן קצח סעיף ח
הָרוֹאֶה אֶת הַמֵּת וְאֵינוֹ מְלַוֶּה אוֹתוֹ, עוֹבֵר מִשּׁוּם לוֹעֵג לָרָשׁ, וּבַר נִדּוּי הוּא. וּלְפָחוֹת יְלַוֵּהוּ אַרְבַּע אַמּוֹת. וּבִמְקוֹם שֶׁאֵינוֹ צָרִיךְ לְלַוּוֹתוֹ (כְּדִלְקַמָּן סָעִיף ט), מִכָּל מָקוֹם צָרִיךְ לַעֲמֹד בְּפָנָיו. וְלֹא לִפְנֵי הַמֵּת הוּא עוֹמֵד, אֶלָּא מִפְּנֵי הָעוֹסְקִים בּוֹ, שֶׁהֵם עֲסוּקִים בַּמִּצְוָה. וְכֵן הַדִּין בְּכָל דְּבַר מִצְוָה שֶׁהָאָדָם עוֹסֵק בּוֹ, צְרִיכִין לַעֲמֹד בְּפָנָיו. וְכֵן הָיוּ בַעֲלֵי אֻמָּנִיּוֹת עוֹמְדִין בִּפְנֵי מְבִיאֵי בִכּוּרִים.
If a person sees the funeral procession, and fails to join the procession, he is guilty of mocking the poor, and is deserving of excommunication. He should accompany the dead at least a distance of four Amos. Even when one is exempt from accompanying the dead (as in paragraph 9), he, nevertheless, must rise before the procession. He does not rise in deference to the dead, but to those attending to the dead, for they are engaged in performing a mitzvah. This is the law with regard to every mitzvah in which a person is engaged. It is required that all must rise before him; and, therefore, workmen used to rise before those bringing Bikkurim.5See Maseches Bikurim 3:3.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)