Танах к Берешит 38:8

וַיֹּ֤אמֶר יְהוּדָה֙ לְאוֹנָ֔ן בֹּ֛א אֶל־אֵ֥שֶׁת אָחִ֖יךָ וְיַבֵּ֣ם אֹתָ֑הּ וְהָקֵ֥ם זֶ֖רַע לְאָחִֽיךָ׃

И сказал Иуда Онану: 'Иди к брату твоему'с женой и выполнять обязанности мужа'брат ей и возьми семя брату твоему.'

Deuteronomy

If brothers reside together, and one of them dies having no son, let the wife of the dead man not marry outside [the family] to a strange man; her brother-in-law will consummate with her thus marrying her to be his wife, and perform levirate marriage with her.