Actually, it did.
Leviticus 18:
Leviticus 18:
Leviticus 18:6 None of you shall approach any blood relative of his to uncover nakedness; I am the LORD.
17a Do not have sexual relations with both a woman and her daughter.