[Machine] I used to take a bath with the Messenger of Allah ﷺ from the same vessel, even though both of us were in a state of impurity (janabah). However, the water does not become impure.
لَقَدْ كُنْتُ أَغْتَسِلُ أَنَا وَرَسُولُ اللهِ ﷺ مِنْ إِنَاءٍ وَاحِدٍ وَإِنَّا لَجُنُبَانِ وَلَكِنَّ الْمَاءَ لَا يَجْنُبُ