And another:
As early as 1988, gender reassignment surgery was declared acceptable under Islamic law by scholars at Egypt’s Al-Azhar, the world’s oldest Islamic university. In Iran, in 1987, Ayatollah Khomeini declared transgender surgical operations allowable. The basis for this attitude of acceptance is the belief that a person is born transgender…
All of this is very far outside my zone of personal experience but the support forums and pages should be able to be more on-point than I can be here.
Speaking purely magickally, NOT as any kind of medical or psychological thing, this may help you to experience the opposite gender, if you merge with the Daemon once created with the intention to feel their form and experience that gender (this is classic astral shapeshifting and can be done to experience any form of life, or even harmonise with crystals and natural elements):