17 If a man takes his sister, his father's daughter or his mother's daughter, and has sexual relations with her, and she consents, it is a shameful thing; they are to be cut off publicly - he has had sexual relations with his sister, and he will bear the consequences of their wrongdoing.