أَخْبَرَنَا أَبُو سَعْدٍ أَحْمَدُ بْنُ مُحَمَّدٍ الْمَالِينِيُّ، أنا أَبُو أَحْمَدَ بْنُ عَدِيٍّ الْحَافِظُ، ثنا أَبُو صَالِحٍ الْقَاسِمُ بْنُ اللَّيْثِ الرَّسْعَنِيُّ، ثنا هِشَامُ بْنُ عَمَّارٍ، ثنا يَعْقُوبُ بْنُ إِبْرَاهِيمَ الْقَاضِي، ثنا مُحَمَّدُ بْنُ السَّائِبِ، عَنْ أَبِي صَالِحٍ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ سُئِلَ عَنْ مَوْلُودٍ وُلِدَ لَهُ قُبُلٌ وَذَكَرٌ: مِنْ أَيْنَ يُوَرَّثُ؟ فَقَالَ النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: " يُوَرَّثُ مِنْ حَيْثُ يَبُولُ " مُحَمَّدُ بْنُ السَّائِبِ الْكَلْبِيُّ لَا يُحْتَجُّ بِهِ.
It is narrated from Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) was asked about a newborn who was born with both a female organ and a male organ: how will he inherit? The Prophet (peace and blessings be upon him) said: "He will be made an heir according to where he urinates from."
Muhammad bin al-Sa'ib al-Kalbi is not used as evidence.