Deuteronomy 25:5-7

CAB(i) 5 And if brothers should live together, and one of them should die, and should not have seed, the wife of the deceased shall not marry out of the family to a man not related: her husband's brother shall go in to her, and shall take her to himself for a wife, and shall dwell with her. 6 And it shall come to pass that the child which she shall bear, shall be named by the name of the deceased, and his name shall not be blotted out of Israel. 7 And if the man should not be willing to take his brother's wife, then shall the woman go up to the gate to the elders, and she shall say, My husband's brother will not raise up the name of his brother in Israel, my husband's brother has refused.