Sunan Abu Dawud #2052
Marriage (Kitab Al-Nikah) 12:7
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.