Sunan Abi Dawud, Book 12, Hadith 7 (Abu Dawud 2053)

Narrated AbuHurayrah:

The Prophet (ﷺ) said: The adulterer who has been flogged shall not marry save the one like him. AbuMa'mar said: Habib al-Mu'allim narrated (this tradition) to us on the authority of Amr ibn Shu'ayb.