Narrated Mughira bin Shu'ba: Once I was traveling with the Prophet ﷺ and he said, "O Mughira! take this container of water". I took it and Allah's Messenger ﷺ went far away till he disappeared. He answered the call of nature and was wearing a Syrian cloak. He tried to take out his hands from its sleeve but it was very tight so he took out his hands from under it. I poured water and he performed ablution like that for prayers and passed his wet hands over his Khuff (socks made from thick fabric or leather) and then prayed .
The Prophet Muhammad ﷺ also taught us to be mindful of our environment by not wasting any resources such as water which is why he asked Mughira bin Shu'ba to bring a container of water instead of using too much from one source. We can learn from this hadith that we should always strive to conserve resources whenever possible and use them wisely in our daily lives.