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)
عَنِ النَّبِيِّ ﷺ أَنَّهُ قَالَ يُغْتَسَلُ مِنْ أَرْبَعٍ مِنَ الْجُمُعَةِ وَالْجَنَابَةِ وَالْحِجَامَةِ وَغَسْلِ الْمَيِّتِ