Sahih al-Bukhari, Hadith 6833 ⓘ
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).
حَدَّثَنَا يَحْيَى بْنُ بُكَيْرٍ، حَدَّثَنَا اللَّيْثُ، عَنْ عُقَيْلٍ، عَنِ ابْنِ شِهَابٍ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَضَى فِيمَنْ زَنَى وَلَمْ يُحْصَنْ بِنَفْىِ عَامٍ بِإِقَامَةِ الْحَدِّ عَلَيْهِ.
also referenced under: Book 86, Hadith 59 (In-Book) & Volume 8, Book 82, Hadith 819 (USC-MSA)