“It was when his master heard the words of his wife that she spoke to him, saying: Your slave did to me in this manner. His wrath was enflamed” (Genesis 39:19). “It was when his master heard…in this manner” – Rabbi Abahu said: It was during intercourse.26As Potiphar and his wife engaged in intimate conduct, she would say to him: This is what your slave would do to me. “Joseph's master took him, and placed him in the prison, the place where the king's prisoners were incarcerated, and he was there in the prison” (Genesis 39:20).
“Joseph's master took him” – he said to him: ‘I know that you did not do this,27If he had believed his wife, he would, no doubt, have killed Joseph. but it is so I will not attach stigma to my children.’28If I do not punish you, everyone will know that I know that my wife is a harlot, and that stigma will affect my children..