Deuteronomy 25:6

New International Version Bible (NIV)
The first son she bears shall carry on the name of the dead brother so that his name will not be blotted out from Israel.

Read Deuteronomy 25:6 in other translations