Zayd bin Khalid reported,

I heard the Prophet ﷺ command that whoever commits fornication and is not married should be given a hundred lashes and banished for a year.

Bukhari 6831

Sahih

حدثنا مالك بن إسماعيل حدثنا عبد العزيز أخبرنا ابن شهاب عن عبيد الله بن عبد الله بن عتبة

عن زيد بن خالد الجهني قال

سمعت النبي ﷺ يأمر فيمن زنى ولم يحصن جلد مائة وتغريب عام

البخاري 6831صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Legal punishments
Chapter
Two virgins are flogged and exiled
Numbering
Darussalam 6831
Bukhari 6831