And regarding all these matters that came through tradition, they are explicitly stated in the scriptures in the Scroll of Ruth, for Boaz married Ruth, which was like the matter of yibum, as is explicit there, that he acquired the field of Mahlon and Chilion and married the wife of Mahlon. And it is written: "Moreover, Ruth the Moabitess, the wife of Mahlon, have I acquired to be my wife, to raise up the name of the dead upon his inheritance, that the name of the dead be not cut off, etc." And Rashi explained: Since his wife goes out and comes into the inheritance, and brings in and takes out, they say "this was the wife of Mahlon," etc. See there. Behold, it is explicit like the tradition of our sages of blessed memory, that the raising of the name is through the inheritance, and that the inheritance reaches the yabam, just as there the inheritance belonged to Boaz the one performing the yibum, and that it is not literally the name, for Boaz and Ruth did not call the firstborn born to them Mahlon, but rather Oved, as is explained there.
And this too is explained there, that the essence is the procreation, that they shall procreate so that it is considered as if the dead procreated, as is written there: "There is a son born to Naomi." Therefore, the Torah prohibited a saris and an aylonit, who are not fit for the raising of seed, for this is the essence of raising the name of the dead. For would you think that if the dead left no inheritance his wife does not undergo yibum? Rather, the essence of raising the name is the seed, and the inheritance is also the raising of the name, as Rashi explained regarding Ruth. Therefore, the yabam does not take the inheritance until he has cohabitation with her, and even if he performed maamar with her, it is nothing, for there is no raising of the name in this. But when he has cohabitation with her, even if he died immediately or divorced her immediately, the property is his, for he has raised the name of the dead. (And there is room to doubt if she is from erusin and is a virgin, such that she does not conceive from the first cohabitation, whether there is the raising of the name in this; and it appears that there is no distinction, similar to what the Beit Shmuel wrote in siman 166, subsection 6).
ולכל דברים אלו שבאו בקבלה מפורשים הם בכתובים במגילת רות שנשא בעז את רות שהיה כענין יבום כמפורש שם שקנה השדה של מחלון וכליון ונשא אשת מחלון וכתיב וגם את רות המואביה אשת מחלון קניתי לי לאשה להקים שם המת על נחלתו ולא יכרת שם המת וגו' ופירש"י מתוך שאשתו יוצאה ובאה בנחלה ומכנסת ומוציאה אומרים זאת היתה אשת מחלון וכו' ע"ש הרי מפורש כקבלת חז"ל דהקמת שם הוא בנחלה ושהנחלה מגיע להיבם כמו בשם שהיתה הנחלה של בעז המייבם ושאינו שם ממש שהרי לא קראו בעז ורות את הבכור הנולד מהם מחלון אלא עובד כמבואר שם וגם זה מבואר שם דהעיקר הוא ההולדה שיולידו שיתחשב כאלו המת הוליד ככתוב שם יולד בן לנעמי ולכן אסרה תורה סריס ואילונית שאין ראוין להקמת זרע שזהו עיקר הקמת שם המת דאטו אם המת לא הניח נחלה אין אשתו מתייבמת ועיקר הקמת שם הוא הזרע וגם הנחלה הוא הקמת שם כפירש"י ברות ולכן אין היבם נוטל הנחלה עד שיבא עליה ואפילו עשה בה מאמר אינו כלום דאינו בזה הקמת שם אבל כשבא עליה אפילו מת מיד או גירשה מיד הנכסים שלו שהרי הקים שם המת (ויש להסתפק אם היא מאירוסין והיא בתולה דאינה מתעברת מביאה ראשונה אם יש בזה הקמת שם ונראה דאין חילוק וכעין מ"ש הב"ש סי' קס"ו סק"ו):