Punishment of Disbelievers at War with Allah and His Apostle

Bukhari :: Book 8 :: Volume 82 :: Hadith 819

Narrated Abu Huraira:

Allah's Apostle 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) .

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star