סימן קנא סעיף ג
כְּשֶׁמַּשְׁתִּין, אָסוּר לֶאֱחֹז בַּמִּילָה לְהַשְּׁתִּין. וְאִם הוּא נָשׂוּי וְאִשְׁתּוֹ עִמּוֹ בָּעִיר וְהִיא טְהוֹרָה, מִצַּד הַדִּין מֻתָּר לוֹ, דְּכֵיוָן שֶׁיֵשׁ לוֹ פַּת בְּסַלּוֹ, אֵינוֹ בָא לִידֵי הִרְהוּר וְחִמּוּם. אַךְ מִמִּידַת חֲסִידוּת, לְהַחְמִיר. וְשֶׁלֹּא לְצֹרֶךְ הַשְׁתָּנָה, גַּם מִצַּד הַדִּין אָסוּר לו.
When urinating, it is forbidden to hold the penis5From the glans and downward is permitted even while erect. (Mishnah Berurah 3:25) even to facilitate urination. If you are married and your wife is also with you in town, and she is clean (menstrually), from the halachic standpoint it is permitted; for when a person has the possibility, he will usually not succumb to lustful thoughts and stimulation. But it is a matter of piety to be stringent even in this situation.6If you are standing in a place where you are afraid of falling, it is not even piety to be strict, provided you are married. (Mishnah Berurah 3:28) When not for the purpose of urinating, even halachically the above mentioned things are forbidden.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)