Sahih al-Bukhari 6833
Book 86: Limits and Punishments set by Allah (Hudood) · Narrated by Abu Huraira
Arabic
حَدَّثَنَا يَحْيَى بْنُ بُكَيْرٍ، حَدَّثَنَا اللَّيْثُ، عَنْ عُقَيْلٍ، عَنِ ابْنِ شِهَابٍ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَضَى فِيمَنْ زَنَى وَلَمْ يُحْصَنْ بِنَفْىِ عَامٍ بِإِقَامَةِ الْحَدِّ عَلَيْهِ.
English translation
Narrated Abu Huraira:Allah's Messenger (ﷺ) judged that the unmarried person who was guilty of illegal sexual intercourse be exiled for one year and receive the legal punishment (i.e., be flogged with one-hundred stripes)
Reference: Sahih al-Bukhari 6833, Book of Limits and Punishments set by Allah (Hudood). English translation by Dr. Muhammad Muhsin Khan.