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:20001Abū Bakr Muḥammad b. Ibrāhīm al-Ardastānī > Abū Naṣr al-ʿIrāqī > Sufyān b. Muḥammad al-Jawharī > ʿAlī b. al-Ḥasan > ʿAbdullāh b. al-Walīd > Sufyān > Thawr b. Yazīd > ʿUmar b. ʿAbd al-Raḥman al-Qurashī > Ibn ʿAbbās Suʾil

[Machine] Look at both of them more closely, and they found the price of both of them to be a dinar for the child of adultery. So he commanded them with it.  

البيهقي:٢٠٠٠١وَأَخْبَرَنَا أَبُو بَكْرٍ مُحَمَّدُ بْنُ إِبْرَاهِيمَ الْأَرْدَسْتَانِيُّ أنبأ أَبُو نَصْرٍ الْعِرَاقِيُّ ثنا سُفْيَانُ بْنُ مُحَمَّدٍ الْجَوْهَرِيُّ ثنا عَلِيُّ بْنُ الْحَسَنِ ثنا عَبْدُ اللهِ بْنُ الْوَلِيدِ ثنا سُفْيَانُ عَنْ ثَوْرِ بْنِ يَزِيدَ عَنْ عُمَرَ بْنِ عَبْدِ الرَّحْمَنِ الْقُرَشِيِّ أَنَّ ابْنَ عَبَّاسٍ ؓ سُئِلَ عَنْ وَلَدِ الزِّنَا وَوَلَدِ رِشْدَةٍ فِي الْعِتَاقَةِ؟ فَقَالَ

انْظُرْ أَكْثَرَهُمَا ثَمَنًا فَوَجَدُوا وَلَدَ الزِّنَا أَكْثَرَهُمَا ثَمَنًا بِدِينَارٍ فَأَمَرَهُمْ بِهِ