Doctors and nurses seeing the `Awrahs of patients

Q: What is the ruling on the doctors and nurses who see the `Awrah (parts of the body that must be covered in public) of sick people for treatment purposes? It should be mentioned that sometimes it can reach the extent of taking off all their clothes in front of them; are there any restraints in this regard?

A: Males or females should conceal their `Awrah, for the Prophet (peace be upon him) said: Conceal your `Awrah except in front of your wife or female-slaves. It is impermissible for a person to look at the `Awrah of others, except between spouses. Likewise, a doctor or a nurse may look at the `Awrah of a patient, if there is a need, but this should be within the limits of what is necessary.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.