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:16971[Chain 1] Abū Bakr b. Fūrak > ʿAbdullāh b. Jaʿfar > Yūnus b. Ḥabīb > Abū Dāwud > ʿAbd al-ʿAzīz b. Abū Salamah [Chain 2] Abū al-Ḥasan Muḥammad b. al-Ḥusayn b. Dāwud al-ʿAlawī Imlāʾ > ʿAbdullāh b. Muḥammad b. al-Ḥasan al-Sharqī > Muḥammad b. Yaḥyá al-Dhuhlī > ʿAbd al-Raḥman b. Mahdī > ʿAbd al-ʿAzīz b. ʿAbdullāh b. Abū Salamah > al-Zuhrī > ʿUbaydullāh b. ʿAbdullāh > Zayd b. Khālid al-Juhanī

[Machine] I heard the Messenger of Allah ﷺ ordering the punishment of one who commits adultery and is not married, which is one hundred lashes and one year of banishment. This is the narration of Abdullah, and in the narration of At-Tayalisi, I witnessed it being decreed for one who commits adultery.  

البيهقي:١٦٩٧١أَخْبَرَنَا أَبُو بَكْرِ بْنُ فُورَكٍ أنبأ عَبْدُ اللهِ بْنُ جَعْفَرٍ ثنا يُونُسُ بْنُ حَبِيبٍ ثنا أَبُو دَاوُدَ ثنا عَبْدُ الْعَزِيزِ بْنُ أَبِي سَلَمَةَ ح و وَحَدَّثَنَا أَبُو الْحَسَنِ مُحَمَّدُ بْنُ الْحُسَيْنِ بْنِ دَاوُدَ الْعَلَوِيُّ إِمْلَاءً أنبأ عَبْدُ اللهِ بْنُ مُحَمَّدِ بْنِ الْحَسَنِ الشَّرْقِيُّ ثنا مُحَمَّدُ بْنُ يَحْيَى الذُّهْلِيُّ ثنا عَبْدُ الرَّحْمَنِ بْنُ مَهْدِيٍّ ثنا عَبْدُ الْعَزِيزِ بْنُ عَبْدِ اللهِ بْنِ أَبِي سَلَمَةَ عَنِ الزُّهْرِيِّ عَنْ عُبَيْدِ اللهِ بْنِ عَبْدِ اللهِ عَنْ زَيْدِ بْنِ خَالِدٍ الْجُهَنِيِّ قَالَ

سَمِعْتُ رَسُولَ اللهِ ﷺ يَأْمُرُ فِيمَنْ زَنَى وَلَمْ يُحْصِنْ بِجَلْدِ مِائَةٍ وَتَغْرِيبِ عَامٍ لَفْظُ حَدِيثِ عَبْدِ الرَّحْمَنِ وَفِي رِوَايَةِ الطَّيَالِسِيِّ شَهِدْتُهُ قَضَى فِيمَنْ زَنَى  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ مَالِكِ بْنِ إِسْمَاعِيلَ عَنْ عَبْدِ الْعَزِيزِ وَزَادَ فِي آخِرِهِ قَالَ ابْنُ شِهَابٍ وَأَخْبَرَنِي عُرْوَةُ أَنَّ عُمَرَ ؓ غَرَّبَ ثُمَّ لَمْ تَزَلْ تِلْكَ السُّنَّةُ

See similar narrations below:

Collected by Bukhārī
bukhari:6831Mālik b. Ismāʿīl > ʿAbd al-ʿAzīz > Ibn Shihāb > ʿUbaydullāh b. ʿAbdullāh b. ʿUtbah > Zayd b. Khālid al-Juhanī

I heard the Prophet ﷺ ordering that an unmarried person guilty of illegal sexual intercourse be flogged one-hundred stripes and be exiled for one year. ʿUmar bin Al-Khattab also exiled such a person, and this tradition is still valid.  

البخاري:٦٨٣١حَدَّثَنَا مَالِكُ بْنُ إِسْمَاعِيلَ حَدَّثَنَا عَبْدُ الْعَزِيزِ أَخْبَرَنَا ابْنُ شِهَابٍ عَنْ عُبَيْدِ اللَّهِ بْنِ عَبْدِ اللَّهِ بْنِ عُتْبَةَ عَنْ زَيْدِ بْنِ خَالِدٍ الْجُهَنِيِّ قَالَ

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