The Prophet ﷺ would take a bath because of sexual defilement on Friday, after opening a vein and after washing a dead body. (Using translation from Abū Dāʾūd 348)
أَنَّ النَّبِيَّ ﷺ قَالَ يُغْتَسَلُ مِنْ أَرْبَعٍ مِنَ الْجَنَابَةِ وَيَوْمِ الْجُمُعَةِ وَمِنْ غُسْلِ الْمَيِّتِ وَالْحِجَامَةِ