It is forbidden to take your daughter as a wife.

(This Negative Mitzvah is not explicitly mentioned in the Torah because it is considered to be self-understood.

If you are not allowed to marry your granddaughter, then, of course, you will not be allowed to marry your daughter.)