I heard the Prophet (ﷺ) ordering that an unmarried person guilty of illegal sexual…

Sahih al-Bukhari Book 86 Hadith 58

Sahih al-Bukhari #6831, 6832

Limits and Punishments set by Allah (Hudood) 86:58

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.

Chapter: Unmarried should be flogged and exiled

Grade: Sahih