The Prophet ﷺ had a wooden cup in which he would urinate, and he kept it under his bed.
أخبرنا أيوب بن محمد الوزان قال حدثنا حجاج قال قال ابن جريج أخبرتني حكيمة بنت أميمة
كان للنبي ﷺ قدح من عيدان يبول فيه ويضعه تحت السرير
Its chain of transmission is hasan. Abu Dawud narrated it in the Book of Purification, chapter on the man who urinates at night into a vessel and then places it beside him, hadith (24), from the hadith of Hajjaj bin Muhammad with the same wording. Ibn Hibban graded it sahih in Mawarid (141), as did Hakim (1/167) and Dhahabi, while Nawawi, Ibn Hajar, and others graded it hasan. It is also found in Kubra, hadith (34).