Narrated Umaymah daughter of Ruqayqah:
The Prophet (saws ) had a wooden vessel under his bed in which he (Prophet pbuh) would urinate at night.
Hasan Sahih (Al-Albani)
Sunan Abi Dawud 24
In-book : Book 1, Hadith 24
* In cases of need, like when one is sick, or if it is extremely cold, etc., one may urinate in a pot or bucket or the like, and dispose of it afterwards, or have it disposed