Sunan an-Nasa'i, Book 26, Hadith 165 (Nasa'i 3366)

It was narrated from An-Nu'man bin Bashir that the Prophet said, concerning a man who had intercourse with his wife's slave woman:

"If she let him do that, I will flog him with one hundred stripes , and if she did not let him, I will stone him (to death)."