Homosexuality
What are the options for an individual who identifies as the opposite gender to that of which they are assigned at birth? If the individual has felt “different” from a very young and their effeminate/masculine behaviour is natural and not an act, how can they see to rectify this problem they have that not many scholars understand? If they are mortified of marriage because they believe it can drive them to suicide or bringing shame to their family if their spouse will ridicule them for lacking the qualities one expects of the individual, and also being unable to have relations with them, and which will lead to a breakdown in the marriage and eventually divorce, how can this individual complete one-half of their faith since marriage is half of faith? How can one reconcile religion and their innermost feelings of gender dysphoria that otherwise will lead them to suicide if left untreated? Should this individual continue to live in the body Allah has assigned them at birth or is it permissible to seek modern medicinal treatment and even surgery to help them with their dysphoria and also help them avoid major sins?
Marriage is NOT mandatory in Islam. However, I’m not aware of the authenticity/context of the narration you posted above. Maybe a moderator/scholar can comment on it. If a person’s body naturally undergo physical/hormonal changes overtime after their birth and a medical board identifies that a change in gender is needed through surgery then it is okay. But, one should not change their gender just because they feel different about their orientation.