Gender is the range of characteristics pertaining to, and differentiating between, masculinity and femininity.
Islamic rules forbidding seeing or touching other gender (Non Mahram) are very clear but exceptions come if there is a real necessity to save life. Necessity must be assessed and the exception should meet no more than the necessity. Any act more than the real necessity is not permissible.
First of all we need to be sure that she is really a woman. This assurance does not come from her recent appearance which looks like a woman but must come
through medical confirmed results that the DNA belongs to a female
human being. When a person is a female by genetic structure but
because of abnormality she looked like a male and then she went
through a surgery to remove the abnormal organs and develop the female
organs, in this case she is a female and marriage between a Muslim man
and a Muslim woman is possible. But if she does not have female DNA
and the operation was just for removing the male organs and creating or implanting
female organs instead, she is in fact not a female, so there is no
question of marriage between a Muslim man and such a person.
Same situation applies on a woman who undergoes a surgery to look like a man wth out a DNA confirmation about the real gender.
There isn't full agreement on whether the soul has a gender, although a common view is that the soul does not have a gender. However one can deduce from Qur'an and hadith that we will appear in the afterlife similar to how we appear in this world including gender. It is said that the soul is affixed to a sort of body in the afterlife (less "heavy" than the physical body but still a sort of body) and so perhaps this is why it will appear gendered.
[Edit: Hereby is demonstration that there is no agreement on the matter! In tafsir of 4:1, Allamah Tabataba'i expresses the view that the Qur'anic reference to creating the "nafs" of a person and its mate is the compound of worldly body and soul, not the soul in and of itself or what persists after the worldly life.
However, it should be said that there have been multiple trends of thought in the Islamic world regarding the nature of the soul, and some scholars accept some views - like Molla Sadra's - whereas others do not. As for non-Islamic sources, while it is true that extra-Islamic philosophical ideas were introduced to the Islamic world early on and became part of Islamic thought, just because something is extra-Islamic does not automatically mean it is wrong. For instance, pre-Islamic sources also say that 2+2=4, and we do not disagree with that. What can be said is that non-Islamic sources cannot be taken as proof of matters known through revelation, although one could consider the logic presented in them.
In any case, this may not be what the question is actually intending to ask, because it seems that the question is aimed at asking whether we will appear gendered in the barzakh and heaven/hell. From the Qur'an and hadith, it seems as if we will appear recognizably gendered, regardless of whether or not that is an inherent nature of the soul. In any case, we will all find out.
In contrast, some people ask whether the soul is essentially gendered because they have an interest in questions such as the position of women and men spiritually in Islamic thought.
An interesting read on the spiritual aspects of gender in the Islamic, including Shi'i, tradition is _The Tao of Islam_.]
Non Islamic sources claim that souls have no gender but Quran and authentic Hadeeths are clear that human soul is linked with human body, and as every human being has a gender either male of female, so, the souls has the same gender of the human being . Allah (SWT) says in Quran : (O mankind, We have Created you from a male and a female and made you in people and tribes, that you may know each other. Verily, the most honorable of you with Allah is most pious (Sura 49, Verse 13).
Our gender is ordained by our Creator and it will remain with us after this life. In Paradise, Lady Fatimah will be the best of all the ladies of Paradise, which means that there will be females and males in Paradise, and our gender will remain with us after this life.
as salam alaikum
Islam does not religiously legitimize any relation outside a lawful marriage sanctioned by Islamic law. The Muslim person, whatever inclination may have, is called to control his lustful desires and abide by the divine religious, legal and ethical code. He should follow the instructions of the Qur'an and Sunna, always ask for Allah's guidance and make the love for Allah stronger than anything else. By sincerely doing so, the servant will be guided and rewarded insh'Allah.
With prayers for your success.
as salam alaikum
if a person find him/herself in a work environment with people of the opposite gender, because he/she doesn't find another job or any other reason, he/she should keep all the rules etiquettes that preserve his/her haya' and try to avoid extra-professional conversations. There is nothing wrong in sending greetings and work-related talk as long as they don't lead to haram consequences. Obviously one should strive also to be gentle, efficient and helpful in every circumstance. However "warm and friendly interactions" are not a necessity and should be avoided.
With prayers for your success.
When she looks like woman ( despite having male organ) means that she is a female. Male parts can be because of genetic abnormality. This can be confirmed by medical tests. She has to be with the females.
Joking and laughing between Muslims of opposite gender is far from the Quranic teachings and the orders of the Prophet Muhammad (SAWA) and his Holy Progeny Ahlul Bayt (AS).
Allah (SWT) orders in Quran The wives of the Prophet: ( Do not speak softly with men, because it might cause moving ill hearted men towards evil desire)(33:32).
Hadeeth says that when non Mahram man and woman are together, Shaitan will join them.
It might start with out lustful desire, but Shaitan usually tries to deviate the hearts.
There is difference between Maraaji; in this matter.
If the genes of the person confirm his or her gender, but they look like a different gender, then it is allowed for them to seek medical help to make their original gender more clear in their body.
No one is allowed to change his or her original gender confirmed by their genes.
It is not allowed to touch non Mahram but only in emergency like life saving or medical emergency etc.
Touching other gender does not invalidate Wudhu, despite of the opinion of Shaafi’ee sect that it invalidates. Their opinion is based on misunderstanding the Quranic verse أو لا مستم النساء. Even most of Sunni scholars do not accept the opinion of Shafi’ee sect in this matter.
Gender transition is not allowed when it means a male trying to become a female or a female trying to become a male just for desire.
If a person is really female in her chromosomes and body but has some abnormal male signs in her body , she can then remove the abnormalities and become full female. Same with a male who is male in his chromosomes and body but has abnormal female signs, he can remove that abnormalities and become perfect male.
Rectification which makes the person remove any abnormality is allowed but changing the gender is not allowed.
It must be mentioned that such operations must not allow unlawful looking or touching.