It is narrated from Sayyiduna al-Mughirah bin Shu'bah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) came to the rubbish heap of some people, and he (peace and blessings be upon him) urinated while standing. I met Mansur and asked him about it, and he narrated to me, from Abu Wa'il, the hadith of Sayyiduna Hudhayfah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) came to the rubbish heap of some people and he (peace and blessings be upon him) urinated while standing.
Asim bin Bahdalah and Hammad bin Abi Sulayman narrated it this way, from Abu Wa'il from al-Mughirah, but the correct version is what Mansur and al-A'mash narrated from Abu Wa'il from Hudhayfah; Abu Isa al-Tirmidhi and a group of the hadith masters said so. A hadith has been narrated about the reason for his (peace and blessings be upon him) urinating while standing, the like of which is not established.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الطهارة / 488