Kindly reference the following link(s):
Does a transgender get a share of a male or a female? Is there a share for a gay in inheritance in Islam? | Assim Al Hakeem (website)
What is a Transgender and are they allowed to enter our houses?
Ruling on a Transgender who accepts Islam | Sheikh Assim Al Hakeem
Gender Identity in Islam (Male, Female, Transgender, Intersex, No Gender)
Related Article:
Ruling on Eunuchs, Hermaphrodites, or Intersex people