Answered by Shaykh Faraz Rabbani
If necessity dictates that a Muslimah be examined by a male physician should or can her husband be present in the examining room? Also I take from the Maliki madhhab, however since your site limits itself to Hanafi and Shafii rulings please recount to me the view of both of these respected madhhab.
In the name of Allah, The Most All-Knowing, The Wise
When one genuinely cannot see a doctor of the same sex, then one may see one of the opposite sex. However, one cannot be alone with them in a closed room: there needs to be a third person (such as one’s spouse) present.
Faraz Rabbani.
Please see the following links in answer to your question: