It was narrated that 'Umar said:"The Messenger of Allah saw me urinating while standing, and he said: 'O 'Umar, do not urinate standing up.' So I never urinated whilst standing after that."
حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، حَدَّثَنَا ابْنُ جُرَيْجٍ، عَنْ عَبْدِ الْكَرِيمِ بْنِ أَبِي أُمَيَّةَ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، عَنْ عُمَرَ، قَالَ رَآنِي رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ وَأَنَا أَبُولُ قَائِمًا فَقَالَ " يَا عُمَرُ لاَ تَبُلْ قَائِمًا " . فَمَا بُلْتُ قَائِمًا بَعْدُ .
IbnMaja
The Book of Purification and its Sunnah • Hadith 308