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:21258Abū Zakariyyā b. Abū Isḥāq al-Muzakkī And ʾAbū Bakr Aḥmad b. al-Ḥasan al-Qāḍī > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > al-Rabīʿ b. Sulaymān > al-Shāfiʿī > Anas b. ʿIyāḍ > Hishām b. ʿUrwah from his father > Yaḥyá b. ʿAbd al-Raḥman b. Ḥāṭib > a manayn Tadāʿayā Walad Fadaʿā

[Machine] Two men called for a child, so Umar prayed for him and they said: 'They both took part in him,' so Umar said to him: 'Choose whoever you want.' He said: '21259.' And Ash-Shafi'i narrated from Malik, from Yahya bin Sa'id, from Sulaiman bin Yasir, from Umar, a similar meaning. He said: 'And Ash-Shafi'i narrated from Mutarrif bin Mazin, from Ma'mar, from Az-Zuhri, from Urwah, from Umar bin Al-Khattab, a similar meaning.'  

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

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