The Prophet ﷺ used to take a bath on account of sexual defilement, on Friday, for cupping and washing the dead. (Using translation from Abū Dāʾūd 3160)
أَنَّ النَّبِيَّ ﷺ قَالَ «يُغْتَسَلُ مِنْ أَرْبَعٍ مِنَ الْجَنَابَةِ وَيَوْمَ الْجُمُعَةِ وَمِنْ غَسْلِ الْمَيِّتِ وَالْحِجَامَةِ»