The Shulchan Aruch · Orach Chayim
אורח חיים ז׳Orach Chayim 7
Siman 7 of 697 in Orach Chayim — 4 se'ifim
הלכות הנהגת האדם בבוקרLaws Upon Awakening in the Morning· siman 7
Se’if 1א׳
כָּל הַיּוֹם כְּשֶׁעוֹשִׂים צְרָכָיו בֵּין קְטַנִּים בֵּין גְּדוֹלִים מְבָרֵךְ אֲשֶׁר יָצַר, וְלֹא עַל נְטִילַת יָדַיִם, אַף אִם רוֹצֶה לִלְמֹד אוֹ לְהִתְפַּלֵּל מִיָּד: הַגָּה: הָיוּ יָדָיו מְלֻכְלָכוֹת שֶׁשִּׁפְשֵׁף בָּהֶן אֲפִלּוּ הָכֵי אֵינוֹ מְבָרֵךְ עַל נְטִילַת יָדָיִם (סמ"ג סי' כ"ז מ"ע):
The Laws of Reciting the Blessing of "Asher Yatzar" Throughout the Day After One Urinates. Containing 4 Se'ifim: Throughout the day, when one relieves themselves, whether urination or defecation, they should recite the "Asher Yatzar" blessing, but not "Al Netilat Yadayim" even if one wants to learn or pray immediately after. Rema: If one's hands were dirty because he wiped with them, even in such a case, one should not recite the blessing "Al Netilat Yadayim" (Sefer Mitzvot Ha-Gadol - siman 27, mitzvah 9)
Se’if 2ב׳
הֵטִיל מַיִם וְלֹא שִׁפְשֵׁף אַף עַל פִּי שֶׁצָּרִיךְ לְבָרֵךְ אֲשֶׁר יָצַר, אֵין צָרִיךְ לִטֹּל יָדָיו אֶלָּא מִשּׁוּם נְקִיּוּת אוֹ מִשּׁוּם הִכּוֹן.
If one urinated and did not brush off [any drops of urine with his hands] - even though he must recite Asher Yatzar, washing his hands is only necessary for [the sake of] cleanliness/hygiene or because of the notion of "Hikkon" (Amos 4:12) (i.e. preparation for the proper davening mindset).
Se’if 3ג׳
הֵטִיל מַיִם וְהִסִיחַ דַּעְתּוֹ מִלְּהָטִיל מַיִם וְאַחַר כָּךְ נִמְלַךְ וְהֵטִיל מַיִם פַּעַם אַחֶרֶת, צָרִיךְ לְבָרֵךְ ב' פְּעָמִים אֲשֶׁר יָצַר.
One who urinated and then diverted his mind from urinating [further], and then later decided to urinate again - he needs to recite "Asher Yatzar" twice.
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0