It was narrated from Hudhifah that the Messenger of Allah ﷺcame to some people's garbage dump and urinated while standing. (Using translation from Nasāʾī 26)
«أَنَّ رَسُولَ اللَّهِ ﷺ أَتَى سُبَاطَةَ قَوْمٍ فَبَالَ قَائِمًا ثُمَّ تَوَضَّأَ وَمَسَحَ عَلَى خُفَّيْهِ»