Sahih al-Bukhari 6831, 6832
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا مَالِكُ بْنُ إِسْمَاعِيلَ، حَدَّثَنَا عَبْدُ الْعَزِيزِ، أَخْبَرَنَا ابْنُ شِهَابٍ، عَنْ عُبَيْدِ اللَّهِ بْنِ عَبْدِ اللَّهِ بْنِ عُتْبَةَ، عَنْ زَيْدِ بْنِ خَالِدٍ الْجُهَنِيِّ، قَالَ سَمِعْتُ النَّبِيَّ صلى الله عليه وسلم يَأْمُرُ فِيمَنْ زَنَى وَلَمْ يُحْصَنْ جَلْدَ مِائَةٍ وَتَغْرِيبَ عَامٍ. قَالَ ابْنُ شِهَابٍ وَأَخْبَرَنِي عُرْوَةَ بْنُ الزُّبَيْرِ، أَنَّ عُمَرَ بْنَ الْخَطَّابِ، غَرَّبَ، ثُمَّ لَمْ تَزَلْ تِلْكَ السُّنَّةَ.
Narrated Zaid bin Khalid Al-Juhani:
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.
Full reference and source
Sahih al-Bukhari 6831, 6832 In-book : Book 86, Hadith 58 USC-MSA web (English) : Vol. 8, Book 82, Hadith 818 (deprecated)
View source on Sunnah.com (opens in a new tab)