2,260. Seclusion With Arayos

Hilchos Issurei Biah 21:32

A man shouldn’t marry an unlearned person’s daughter because if he dies or is exiled, his children will grow up unlearned given that their mother is unlearned. Nor should one give his daughter to marry an unlearned person; this is comparable to tying her up and placing her in front of a lion. Such a person will mistreat her and has no shame. A man should sell everything he has in order to marry a Torah scholar’s daughter because if he dies or is exiled, his children will grow up to be scholars. One should marry his daughter to a Torah scholar because there’s no shameful behavior or contention in a Torah scholar’s home.

Hilchos Issurei Biah 22:1

It is prohibited for a man to seclude himself with any of the women prohibited as a forbidden relationship even if she’s very old or very young because this leads to prohibited acts of intimacy. The exceptions to this rule are a woman and her son, a man and his daughter, and a man with his wife when she’s a niddah. If a bride menstruates before the couple is intimate, it is prohibited for them to be secluded together. In such a case, she should spend the night with women and he should bunk with men. If they were intimate even once before she became a niddah, they permitted to be secluded together.