Leviticus 18:17
“Do not have sexual relations with both a woman and her daughter. And do not take her granddaughter, whether her son’s daughter or her daughter’s daughter, and have sexual relations with her. They are close relatives, and this would be a wicked act.