Sahih Muslim, Book 29, Hadith 17 (Muslim 4375)

'Ubada b. as-Samit reported:

Allah's Messenger (ﷺ) as saying: Receive (teaching) from me, receive (teaching) from me. Allah has ordained a way for those (women). When an unmarried male commits adultery with an unmarried female (they should receive) one hundred lashes and banishment for one year. And in case of married male committing adultery with a married female, they shall receive one hundred lashes and be stoned to death.