When brothers dwell together and one of them dies and leaves no son, the wife of the deceased shall not be married to a stranger, outside the family. Her husband’s brother shall unite with her: he shall take her as his wife and perform the levir’s duty. The first son that she bears shall be accounted to the dead brother, that his name may not be blotted out in Israel.
Deuteronomy 25;5-6