Performing Ghusl for a patient who is afraid that water might be harmful to some organs of their body

Q 2: I had a sexual dream two days after performing an operation, but I did not perform Ghusl (ritual bath following major ritual impurity) lest I should be harmed. I did not consult the doctor about this matter. I took some pebbles from the hospital yard and performed Istijmar (cleansing the private parts with a hard material) with them. I was able to perform Wudu' (ablution) and at the same time performed Tayammum (dry ablution) in place of Ghusl. I kept doing this for two days and then took a bath. However, I continued performing Wudu' and Tayammum because the water did not reach my whole body. Was I right in what I did? Should I repeat Salah I performed during this period?

A: All praise be to Allah Alone, and peace and blessings be upon His Messenger, and his family and Companions. It is impermissible not to wash your whole body after having a sexual dream. Rather, you should have performed Ghusl and avoided the operated part of your body, which you feared might be harmed. Thus, you have to repeat the Salah you performed before having Ghusl and you are allowed to perform Tayammum on the operated part of your body that which water has not reached because of the operation.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.