One of the wives of the Prophet took a bath to cleanse herself from sexual impurity, then the Prophet performed ablution and had a bath with the water left over from her ablution." (Using translation from Ibn Mājah 371)
أَنَّ امْرَأَةً مِنْ أَزْوَاجِ النَّبِيِّ ﷺ اغْتَسَلَتْ مِنْ جَنَابَةٍ فَاغْتَسَلَ النَّبِيُّ ﷺ أَوْ تَوَضَّأَ مِنْ فَضْلِهَا