Regarding urine when it has flowed from him, if he is walking without trousers and they fell upon the ground – he must distance himself from them four amot or go out to another room, whether during the recitation of Shema or during the prayer. And even though one should not go from place to place in the middle of the prayer, nevertheless here it is necessarily so. And even though it is unavoidable that a small amount also fell upon his knees, nevertheless we are not concerned about this, even if his knees are still moist from the urine (Pri Megadim and Eliyah Zuta). And if the place is soft ground, which can absorb them quickly in a manner that there will not be enough moisture to moisten another object – he has the permission to wait until they are absorbed. And we are not concerned lest he linger in the waiting for a duration long enough to finish the entire prayer, and he would have to return to the beginning according to the opinion of the Tosafot and the Rosh. For what of it? For even if he recites it twice, this is only like one who reads from the Torah. Therefore, during the prayer he should not wait until they are absorbed, for perhaps he will linger a long time and will have to return to the beginning, and he will cause blessings that are not necessary. Therefore, during the prayer in any case he distances himself four amot and recites immediately. And also during the recitation of Shema it is better to do so. And certainly if he is standing during the blessings of the recitation of Shema, which is like the prayer, and he is obligated to distance himself four amot or go to another room. (See Magen Avraham subsection 2, and the matters are difficult. And it is better also during the recitation of Shema to distance oneself. And examine carefully and you will find it simple.)
המי רגלים כששתתו ממנו, אם הולך בלא מכנסים ונפלו על הארץ – מרחיק מהם ארבע אמות או יצא לחדר אחר, בין בקריאת שמע בין בתפילה. ואף שאין לילך ממקום למקום באמצע התפילה, מכל מקום בכאן בהכרח כן הוא. ואף שלא ימלט שגם על ברכיו נפלו מעט, מכל מקום לא חיישינן לזה, אף אם ברכיו לחות עדיין מהמי רגלים (פרי מגדים וא"ז). ואם המקום הוא קרקע רכה, שיכולים לבלע במהרה באופן שלא יהיה בהם טופח על מנת להטפיח – הרשות בידו להמתין עד שיבלעו. ואין חוששין שמא ישהה בההמתנה עד כדי לגמור את כולה, ויצטרך לחזור לראש לדעת התוספות והרא"ש. דמה בכך? דאף אם יקרא שתי פעמים אין זה רק כקורא בתורה. ולכן בתפילה לא ימתין עד שיבלעו, דשמא ישהה הרבה ויצטרך לחזור לראש, ויגרום ברכות שאינן צריכות. ולכן בתפילה בכל ענין מרחיק ארבע אמות וקורא מיד. וגם בקריאת שמע יותר טוב לעשות כן. וכל שכן אם עומד בברכות קריאת שמע דהוי כמו תפילה, ומחויב להרחיק ארבע אמות או לילך לחדר אחר. (עיין מגן אברהם סעיף קטן ב', והדברים דחוקים. ויותר טוב גם בקריאת שמע להרחיק. ודייק ותמצא קל.)