Deuteronomy 25:5-6

Laws Concerning Levirate Marriage

5 aIf brothers dwell together, and one of them dies and has no son, the wife of the dead man shall not be married outside the family to a stranger. Her bhusband’s brother shall go in to her and take her as his wife and perform the duty of a husband’s brother to her. 6And the first son whom she bears shall succeed to the name of his dead brother, that chis name may not be blotted out of Israel.

Ruth 1:11

11But Naomi said, “Turn back, my daughters; why will you go with me? Have I yet sons in my womb dthat they may become your husbands?

Matthew 22:24

24saying, “Teacher, Moses said, eIf a man dies having no children, his brother must marry the widow and raise up offspring for his brother.’
Copyright information for ESV