Deuteronomy 25:5

Thomson(i) 5 When brothers dwell together, and one of them die, and hath no issue, the wife of him who died shall not marry a man abroad, who is not near of kin. The brother of her husband shall go in unto her, and take her to wife, and cohabit with her;