The Literal Commandment
You shall not marry a woman in addition to her sister as a rival while she is alive, to uncover her nakedness. (Leviticus 18:18)
The literal commandment is that a person must not marry or "uncover the nakedness" of your wife's sister.
"To uncover the nakedness of" is a Biblical idiom for "having sexual relations with".