Dr. Maher Hathout, Director of the Islamic Center of Southern California, states: “I do not know of anything in the Islamic laws that will prevent diagnostic measures that are important to the future of the family.
The ethicality of any tests depends to a great extent on the purpose for which the test is done. If the test is done to discover the truth with the intention of trying to find a treatment, it becomes ethically correct. However, if the husband wants to undergo such test in order to prove that the responsibility does not fall on him and he uses this test to humiliate the wife, or if the wife seeks to expose the husband or to embarrass him through such test, then it becomes ethically wrong. So it goes with intentions.”