if one is unable to take ghusl e janabat due to fever can he / she offer namaz

If water is harmful for the person then they will need to do tayammum in place of ghusl and pray their namaz