Sunan Abi Dawud, Book 40, Hadith 65 (Abu Dawud 4417)

‘Ubadah b. al-Samit reported the Messenger of Allah(ﷺ) as sayings:

Receive my teachings, receive my teachings. Allah has appointed a way for those women. If the parties have been married, they shall receive a hundred lashes and stoned to death. If the parties are unmarried, they shall receive a hundred lashes and banished for a year.