א הָיְתָה צוֹאַת אָדָם מֵאַחֲרָיו, צָרִיךְ לְהַרְחִיק ד' אַמּוֹת מִמָּקוֹם שֶׁכָּלָה הָרֵיחַ, אֲפִלּוּ אִם יֵשׁ לוֹ חֹלִי שֶׁאֵינוֹ מֵרִיחַ, צָרִיךְ לְהַרְחִיק ד' אַמּוֹת מִמָּקוֹם שֶׁיִּכְלֶה הָרֵיחַ לְמִי שֶׁמֵּרִיחַ. וּמִלְּפָנָיו צָרִיךְ לְהַרְחִיק מְלֹא עֵינָיו, אֲפִלּוּ בַּלַּיְלָה אוֹ שֶׁהוּא סוּמָא (תְּשׁוּבַת הָרַשְׁבָּ"א סי' קס"ח בֵּית יוֹסֵף בְּשֵׁם הר"י) שֶׁאֵינוֹ רוֹאֶה אוֹתָהּ צָרִיךְ לְהַרְחִיק עַד מָקוֹם שֶׁאֵינוֹ יָכוֹל לִרְאוֹתָהּ בַּיּוֹם, וְאִם הוּא מִצִּדּוֹ, דִּינוֹ כְּמִלְאַחֲרָיו: הַגָּה: שְׁלִיחַ צִבּוּר הַמִּתְפַּלֵּל, וְצוֹאָה בְּבֵית הַכְּנֶסֶת אוֹ בַּבַּיִת שֶׁמִּתְפַּלֵּל שָׁם, אֲפִלּוּ הוּא לְאַחֲרָיו, בְּכָל הַבַּיִת צָרִיךְ לִשְׁתֹּק עַד שֶׁיּוֹצִיאֶנָּה, מֵאַחַר שֶׁמּוֹצִיא רַבִּים יְדֵי חוֹבָתָן, וְאִי אֶפְשָׁר שֶׁלֹּא יְהֵא אֶחָד מִן הַקָּהָל בְּתוֹךְ ד' אַמּוֹת שֶׁל הַצּוֹאָה. (הַגָּהוֹת מָרְדְּכַי הַחֲדָשִׁים פ' (תְּפִלַּת הַשַּׁחַר) [מִי שֶׁמֵּתוֹ]) וְעַיֵּן לְקַמָּן סוֹף סִימָן צ' וְעַיֵּן לְקַמָּן סי' פ"ז בְּדִין צוֹאָה בְּבַיִת.
1 One Who Happened Across Excrement at Time of the Recitation [of the Sh'ma], Containing 9 S'ifim If there was human excrement behind him, he must distance himself 4 amot from the place where the smell ceases. Even if he has a sickness where he cannot smell, he must distance himself 4 amot from the place where the smell ceases for a person who is able to smell. And [if it is] in front of him, he must distance himself so it is out of site, even at night or if one is blind (Responsum of the Rashba, Siman 168, Beit Yosef in the name of the Ri) - where he cannot see it - he needs to distance himself until a place where he could not see it [if it was] in the daytime. And if it is to his side, the rule is like [when] it is behind him. Rema: A prayer-leader that is praying and there is excrement in the synagogue or house in which he is praying: even if it is behind him anywhere in the house, he needs to [stop the prayers and] be quiet until it is removed [from the house], since he is fulfilling the obligation of others and it is impossible that one of the congregants is not within 4 amot of the excrement. (New Hagahot of Mordechi, chapter "Tefilat haShachar") And see below at the end of Siman 90 (And see below Siman 87 in the laws of excrement in the house)