They were not married in the first place! They only stayed together, don't seee anything wrong here except the man being a friend to the husband sorry former room mate ...Marson said So
Ya the Commandment must be upheld but be mindful that it says Sex should come After MarrIaGE, marriages come before THe WeDDinG. We confuse the saying for SeX aFTeR WEDDinG