Shulchan Arukh, Even HaEzer Siman 18
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
קדושין במי תופסין. ובו סעיף אחד
קידושין תופסין בחייבי לאוין ובחייבי עשה: (וכ"ש בשניות דרבנן טור):
Wikisource Shulchan Aruch
Betrothal takes hold between those who are prohibited by a negative commandment or positive commandment, and all the more so, [between those] with secondary Rabbinic prohibitions (Tur).