Leviticus 18:17

18:17 You must not have sexual intercourse with both a woman and her daughter; you must not take as wife either her son’s daughter or her daughter’s daughter to have intercourse with them. They are closely related to her – it is lewdness.