The Prophet ﷺ would visit all his wives with a single bath.
أن النبي ﷺ كان يطوف على نسائه بغسل واحد.
Muslim narrated it in the Book of Menstruation (309) via the route of Shuba, from Hisham bin Zayd, from Anas, and he related the hadith. Hisham bin Zayd is the son of Anas bin Malik Ansari.As for Bukhari, he gave a chapter heading in the Book of ghusl, "On one who goes around to his wives with a single ghusl," and he related in it the hadith of Anas, who said, the Prophetﷺ used to go around to his wives within a single hour of the night or day, and they were eleven. Qatada said, I said to Anas, "Or was he capable of that?" He said, "We used to say that he had been given the strength of thirty men." Saeed said, from Qatada, that Anas told them, "Nine women." Bukhari narrated it via the route of Muhammad bin Bashshar, who said, Muaz bin Hisham narrated to us, who said, my father narrated to me, from Qatada, who said, Anas bin Malik narrated to us.Bukhari deduced from his words "he used to go around to his wives" that this meant with a single ghusl, because this is the sahih view, even though he did not explicitly state it. It has not been established that he performed ghusl separately with each one of them.As for what has been reported from Abu Rafi, that the Prophetﷺ one day went around to his wives, performing ghusl at this one's place and then at that one's place. He said, "So I said to him, 'O Messenger of Allah, will you not make it a single ghusl?' He replied, 'This is purer, more pleasant, and cleaner.'" This narration contains a narrator who is unknown. It was narrated by Abu Dawud (219) and Ibn Majah (590), both via the hadith of Hammad, from Abdul-Rahman bin Abu Rafi, from his paternal aunt Salma, from Abu Rafi, relating something similar. Hammad here is Ibn Salama. Imam Ahmad (23862) also narrated it via his route.Abu Dawud found fault with it, saying, "The hadith of Anas is more sahih than this one." I say, this is indeed as he said, for they have not mentioned anyone narrating from Abdul-Rahman bin Abu Rafi except Hammad bin Salama. That is why Hafiz said of him in Taqrib, "Acceptable," meaning if corroborated, but no one has corroborated him, so he is "of weak standing in narration." Likewise his paternal aunt Salma, of whom Hafiz said, "Acceptable." Ibn Qattan said, "She is not known."So whoever considers that this narration contradicts a sahih hadith, namely the hadith of Anas, judges it to be problematic, and considers that Abdul-Rahman bin Abu Rafi and his paternal aunt Salma are not among those whose sole narration can be accepted. Whoever regards him as acceptable reconciles between the two narrations by saying that this should be understood as him doing both things at different times. This is what Nawawi said.Qurtubi said, "It is permissible to combine one's wives and concubines in a single ghusl, and this is the view held by the majority of the earlier and later scholars, though performing ghusl after each act of intercourse is more complete and better."