Hadith 3002
Muhammad bin Ali narrated from Sayyiduna Ali (may Allah be pleased with him) regarding a person who is neither male nor female (i.e., a hermaphrodite): In what capacity should inheritance be given to him (as a male or as a female)? Sayyiduna Ali (may Allah be pleased with him) said: It will be determined by the organ from which he urinates (i.e., the place from which he urinates will be considered; if he urinates from the male organ, he will receive the inheritance of a male, otherwise that of a female).
Hadith 3003
It is narrated from Sha'bi (may Allah have mercy on him) that Sayyiduna Ali (may Allah be pleased with him) said regarding the hermaphrodite (khuntha): inheritance will be determined according to the place from which he urinates.
Hadith 3004
حَدَّثَنَا
أَبُو نُعَيْمٍ، حَدَّثَنَا
أَبُو هَانِئٍ، قَالَ: سُئِلَ
عَامِرٌ عَنْ مَوْلُودٍ وُلِدَ، وَلَيْسَ بِذَكَرٍ، وَلَا أُنْثَى، لَيْسَ لَهُ مَا لِلذَّكَرِ، وَلَيْسَ لَهُ مَا لِلْأُنْثَى، يُخْرِجُ مِنْ سُرَّتِهِ كَهَيْئَةِ الْبَوْلِ وَالْغَائِطِ، سُئِلَ عَنْ مِيرَاثِهِ، فَقَالَ:
"نِصْفُ حَظِّ الذَّكَرِ، وَنِصْفُ حَظِّ الْأُنْثَى".
Abu Hani said: ‘Amir (al-Sha‘bi), may Allah have mercy on him, was asked about a child who is neither male nor female, neither having a complete male organ nor a complete female organ, and from whose private part urine and stool come out. What will be his share in inheritance? He replied: Half of his share will be as a male and half as a female.