The measure for distancing from these matters: The Tur wrote that they are like excrement; from before him, as far as his eyes can see, and from behind him, four amot from the place where the odor ceases, see there. And so it is implied in the Mishnah (22b), as we learned: One may not cover himself with foul water or water used for soaking flax... And how much must he distance himself from them and from excrement? Four amot. Behold, it equated them to excrement. However, Rashi explained there: And how much must he distance himself from them—from urine? See there. And so the Rambam wrote in the Commentary on the Mishnah, see there, and so he wrote in his work, chapter three, law 8, see there. And more than this, for in the second chapter of Laws of Reciting the Shema, law 7, where he wrote this law of foul water and water used for soaking flax, he did not mention distancing at all, see there. And it requires further study regarding the law.
השיעור מהרחקת דברים אלו: כתב הטור דהוי כמו מצואה, מלפניו מלוא עיניו, ומלאחריו ארבע אמות ממקום שכלה הריח, עיין שם. וכן משמע במשנה (כב ב), דתנן: ולא יתכסה במים הרעים ובמי המשרה… וכמה ירחיק מהן ומן הצואה? ארבע אמות. הרי שהשוון לצואה. אבל רש"י פירש שם: וכמה ירחיק מהן – ממי רגלים? עיין שם. וכן כתב הרמב"ם בפירוש המשנה, עיין שם, וכן כתב בחיבורו פרק שלישי דין ח, עיין שם. ויותר מזה, דבפרק שני מקריאת שמע דין ז שכתב הך דינא דמים הרעים ומי משרה, ולא הזכיר הרחקה כלל, עיין שם. וצריך עיון לדינא.