The difference between a man and a woman lies in their sexuality. Similarly, the difference between a transgender person and an ordinary person in their sexual matters. That is, they are people of the third sex. Usually a male and a female are fertile. But a person of the third sex is unproductive, even if they are not capable of the biological relationship between a man and a woman, one of the conditions of reproduction. According to the rules of Islam, if a person of the third sex dies, the janaza of the dead person has to be performed on the condition that one of the features is more noticeable, that is, he or she should have a female character or a male character. But the biggest identity is that they are human beings like us and they are the children or brothers and sisters of someone like us. So if we are sympathetic to them without looking for differences then it is more reasonable. Thanks