It is narrated from Sayyiduna Hudhayfah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) came to a garbage dump (a heap of refuse), and he stood and urinated. Then the Prophet (peace and blessings be upon him) performed ablution and wiped over his leather socks.
Hadith Referenceصحيح ابن خزيمه / جماع أبواب الآداب المحتاج إليها في إتيان الغائط والبول إلى الفراغ منها / 61
Hadith Takhrij«صحيح بخاري: كتاب الوضوء ، باب البول قائما و قاعداء ، رقم: 224 ، 226 ، سنن ترمذي: رقم: 13 ، صحيح مسلم: الطهارة باب المسح على الحفين: رقم: 273 ۔ من حديث الأعمش به ، سنن نسائي: 28 ، سنن ابي داوٗد: 23 ، مسند احمد: 382/5 ، 402»
Abu Hazim narrates that I saw Sayyiduna Sahl bin Sa’d (may Allah be pleased with him) urinating while standing. After finishing, he explained the reason for his action by saying that he had seen someone better than himself do this (i.e., the Messenger of Allah, peace and blessings be upon him).
Hadith Referenceصحيح ابن خزيمه / جماع أبواب الآداب المحتاج إليها في إتيان الغائط والبول إلى الفراغ منها / 62
Hadith Takhrij«اسناده الطبراني: فى الأوسط: 152/6 ، 153 ، 171 ، مجمع الزوائد للهيثمي: 206/1»