Hadith No: 1
Al-Imam al-Shafi'i - Kitab al-Um - Mukhtasar al-Muzani - Book on Suckling - Chapter on the Suckling of a Hermaphrodite
Volume: (8) - Page Number: (38)
[The text is lengthy, so only the relevant excerpt is provided here]
- .... (Al-Shafi'i) may God have mercy on him, said: If the predominant characteristic of the hermaphrodite is that he is a man who married a woman and did not ejaculate, then a man married him
and if he subsequently produces milk and uses it to nurse a child, it would not be a nursing that prohibits marriage. Conversely, if the predominant characteristic is that she is a woman, and she produces milk from a marriage or otherwise and nurses a child, it would be a nursing that prohibits marriage. Even in ambiguous cases, she can marry with either characteristic she wishes, and whichever she first married with will be valid, but I would not allow her to marry the other.