The Sufficient (Vol 7) · Hadith 492 (#Ḥadīth #5)
Chapter 49 | Inheritance of Hermaphrodite
5- وَفِي رِوَايَةٍ أُخْرَى عَنْ أَبِي عَبْدِ اللهِ فِي الْمَوْلُودِ لَهُ مَا لِلرِّجَالِ وَلَهُ مَا لِلنِّسَاءِ يَبُولُ مِنْهُمَا جَمِيعاً قَالَ مِنْ أَيِّهِمَا سَبَقَ قِيلَ فَإِنْ خَرَجَ مِنْهُمَا جَمِيعاً قَالَ فَمِنْ أَيِّهِمَا اسْتَدَرَّ قِيلَ فَإِنِ اسْتَدَرَّا جَمِيعاً قَالَ فَمِنْ أَبْعَدِهِمَا.
5. This is in another Hadith from abu ‘Abd Allah , about the case of a person who has the reproductive organs of both male and female and urinates from both of them at the same time: ‘He (the Imam) said that it is according to that from which urine comes first and if it is equal in this respect he (the Imam) said that it then is according to that which stops last and if this also is equal than it is according to that which sends farther/”
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).