Al-Kāfi - Volume 7 > Another Chapter
Hadith #3

3- مُحَمَّدُ بْنُ يَحْيَى عَنْ أَحْمَدَ بْنِ مُحَمَّدٍ عَنِ ابْنِ فَضَّالٍ وَالْحَجَّالِ عَنْ ثَعْلَبَةَ بْنِ مَيْمُونٍ عَنْ بَعْضِ أَصْحَابِنَا عَنْ أَبِي عَبْدِ اللهِ (عَلَيْهِ السَّلام) قَالَ سُئِلَ عَنْ مَوْلُودٍ لَيْسَ بِذَكَرٍ وَلا أُنْثَى لَيْسَ لَهُ إِلا دُبُرٌ كَيْفَ يُوَرَّثُ قَالَ يَجْلِسُ الإمَامُ وَيَجْلِسُ عِنْدَهُ نَاسٌ مِنَ الْمُسْلِمِينَ فَيَدْعُو اللهَ عَزَّ وَجَلَّ وَتُجَالُ السِّهَامُ عَلَيْهِ عَلَى أَيِّ مِيرَاثٍ يُوَرِّثُهُ أَمِيرَاثِ الذَّكَرِ أَوْ مِيرَاثِ الأنْثَى فَأَيُّ ذَلِكَ خَرَجَ عَلَيْهِ وَرَّثَهُ ثُمَّ قَالَ وَأَيُّ قَضِيَّةٍ أَعْدَلُ مِنْ قَضِيَّةٍ تُجَالُ عَلَيْهَا السِّهَامُ يَقُولُ اللهُ تَعَالَى فَساهَمَ فَكانَ مِنَ الْمُدْحَضِينَ قَالَ وَمَا مِنْ أَمْرٍ يَخْتَلِفُ فِيهِ اثْنَانِ إِلا وَلَهُ أَصْلٌ فِي كِتَابِ اللهِ وَلَكِنْ لا تَبْلُغُهُ عُقُولُ الرِّجَالِ.

3. Muhammad ibn Yahya has narrated from Ahmad ibn Muhammad from ibn Faddal and al-Hajjal from Thadabah ibn Maymun from certain persons of our people who has narrated the following: “Once abu ‘Abd Allah, ‘Alayhi al-Salam, was asked about the case of a newborn who is not a male or female except that the child has an anus and about the inheritance of such child. He (the Imam) said, ‘The Imam with Muslim people sits in a gathering and prays to Allah, most Majestic, most Glorious, then mixes the arrows (tokens) to find out thereby if the child must receive from the legacy as a male or a female person. Whichever ’s token or arrow comes out it then is taken as means of settlement. He (the Imam) then said, ‘No other means is as fair as raffle; Allah, most Majestic, most Glorious, has said, ‘They cast raffle and he was of those who failed in the raffle.’ (37:141)” He (the Imam) said, ‘For every matter about which two people dispute, there is a principle for it in the book of Allah but the power of reason of people cannot reach it.’”