Sayyiduna Ibn Abbas (may Allah be pleased with them both) said regarding a man who becomes junub while he has a wound and fears that if he takes a ritual bath he will die: He should perform tayammum and pray.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الطهارة / 1067