Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:21266Abū Bakr Aḥmad b. ʿAlī al-Aṣbahānī > Ibrāhīm b. ʿAbdullāh al-Aṣbahānī > Ismāʿīl b. Ibrāhīm al-Qaṭṭān > al-Ḥasan b. ʿĪsá > Ibn al-Mubārak > Shuʿbah > Qatādah > Saʿīd b. al-Musayyib > Daʿā ʿUmar

[Machine] Umar called upon Al-Qafa in two men who had a dispute over a woman, each claiming to be the father of the child. They said they both had a share in him, so Umar placed the child between them. Sa'id said, "Do you know who will inherit him?" The other replied, "The one who dies will inherit him."  

البيهقي:٢١٢٦٦وَأَخْبَرَنَا أَبُو بَكْرٍ أَحْمَدُ بْنُ عَلِيٍّ الْأَصْبَهَانِيُّ أنبأ إِبْرَاهِيمُ بْنُ عَبْدِ اللهِ الْأَصْبَهَانِيُّ أنبأ إِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ الْقَطَّانُ ثنا الْحَسَنُ بْنُ عِيسَى أنبأ ابْنُ الْمُبَارَكِ أنبأ شُعْبَةُ عَنْ قَتَادَةَ عَنْ سَعِيدِ بْنِ الْمُسَيِّبِ قَالَ

دَعَا عُمَرُ ؓ الْقَافَةَ فِي رَجُلَيْنِ اشْتَرَكَا فِي امْرَأَةٍ ادَّعَى كُلُّ وَاحِدٍ مِنْهُمَا الْوَلَدَ فَقَالُوا اشْتَرَكَا فِيهِ فَجَعَلَهُ عُمَرُ ؓ بَيْنَهُمَا فَقَالَ سَعِيدٌ أَتَدْرِي مَنْ يَرِثُهُ؟ قَالَ آخِرُهُمَا مَوْتًا يَرِثُهُ