Deuteronomy 25:5-8

CLV(i) 5 In case brothers dwell together, and one of them dies, and he has no son, the wife of the dead one shall not come to the outside, to an alien man. Her brother-in-law shall come to her, and he will take her to himself as his wife and perform the levirate for her. 6 Then it will come to be:the firstborn whom she bears shall carry on the name of his father's dead brother so that his name may not be wiped out from Israel. 7 But should the man not be inclined to take his sister-in-law, then his sister-in-law will go up to the elders at the gate and say:My brother-in-law refuses to raise up a name for his brother in Israel; he is not willing to perform the levirate for me. 8 Then the elders of his city will call to him and speak to him. But if he persists and says:I am not inclined to take her,