The Prophet (ﷺ) had a wooden vessel under his bed in which he would urinate at night.

Sunan Abu Dawud Book 1 Hadith 24

Sunan Abu Dawud #24

Purification (Kitab Al-Taharah) 1:24

Narrated Umaymah daughter of Ruqayqah:

The Prophet (ﷺ) had a wooden vessel under his bed in which he would urinate at night.

Chapter: The Permissibility Of A Man Urinating In A Vessel During The Night, And Placing It Near Him

Grade: Hasan Sahih (Al-Albani)