"And you take of his daughters for your sons" (Exodus 34:16). Since Scripture warned against taking from them, you may learn that they are forbidden. And further on it says, "Neither shall you make marriages with them" (Deuteronomy 7:3).
How the Ban on Their Daughters Teaches the Ban on Marriage
Mekhilta DeRabbi Shimon Ben Yochai 34:5
ולקחת מבנותיו לבניך מאחר שהזהיר שלא ליקח מהן אתה למד שהן אסורין ולהלן הוא אומר (דברים ז' ג') (לא) [ולא] תתחתן בם: