Deuteronomy 25:5-6

5 When brothers reside together, and one of them dies and has no son, the wife of the deceased shall not be married outside the family to a stranger. Her husband's brother shall go in to her, taking her in marriage, and performing the duty of a husband's brother to her,
6 and the firstborn whom she bears shall succeed to the name of the deceased brother, so that his name may not be blotted out of Israel.

Deuteronomy 25:5-6 Meaning and Commentary

INTRODUCTION TO DEUTERONOMY 25

Several laws are contained in this chapter, as concerning beating such whose crimes required it, De 25:1-3; of not muzzling the ox in treading out the corn, De 25:4; of marrying a deceased brother's wife, when there was no issue, and of the disgrace of such that refused it, De 25:5-10; of the punishment of an immodest woman, De 25:11,12; and against bad weights and measures, De 25:13-16; and for the utter destruction of Amalek, De 25:17-19.

New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.