Sunan Ibn Majah, Book 1, Hadith 42 (Ibn Majah 308)

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."