Translation:Shulchan Aruch/Orach Chaim/241
Appearance
241: To not urinate nude facing one's bed.
1
One of the things that the Holy One, Blessed is He, hates, is one who urinates in the nude in front of his bed. One who urinates in the nude in front of his bed brings to poverty. And it was only said when he turned his face toward the purya [meaning: toward the bed]. But to the outside, it's nothing. And even when he turned his face toward the bed, it was only said when it was done on the ground. But into a vessel, it's nothing.