Our sages, of blessed memory, said that there are three laws that the sages received as a law without a reason, and this is one of them: One who marries a woman to his adult son in a house—he has acquired it. Specifically an adult, and specifically a virgin, and specifically his first wife, and specifically that he married him off first. And the explanation of the matters: A father who marries off his adult son and did not marry off a male son prior to him—and regarding a daughter there is no concern—and he married him to a virgin, and for this son it is his first marriage, and he cleared out a specific house that he does not dwell in, for he dwells in another house, and the father cleared this house of his vessels and his objects such that he left nothing there and made it a wedding house for his son—the son has acquired that house. And this is a law without a reason; nevertheless, there is a bit of a reason for this—that they estimated the mind of the father, that from the greatness of his joy he transferred the house to him, and since he cleared the house of all his vessels and also the son has no place to dwell, the son's mind relied upon it, and it is a logical deduction that he gave it to him. And this is like a law given to Moses at Sinai, that this transfer of ownership is without a deed and without a kinyan.
אמרו חז"ל שיש שלשה הלכות שקבלו חכמים שם כהלכתא בלא טעמא [ב"ב קמ"ד] וזו אחת מהן: המשיא אשה לבנו גדול בבית – קנאו, ודווקא גדול, ודווקא בתולה, ודווקא אשתו ראשונה, ודווקא שהשיאו ראשון. וביאור הדברים: אב שמשיא בנו הגדול ולא השיא בן זכר קודם לו, ובת אין לחוש [טור], והשיאו בתולה, ולהבן הזה הם נשואים ראשונים, ופינה בית מיוחד שאינו דר בה שהוא דר בבית אחר והבית הזה פינה האב מכליו וחפציו שלא הניח שם כלום ועשאה לבית חתנות לבנו [רש"י גיטין י"ד.] – קנה הבן אותו הבית, וזהו הילכתא בלא טעמא, ומ"מ קצת טעם יש לזה – דאמדוהו לדעתא דאב שמרוב שמחתו הקנה לו הבית, וכיון שפינה את הבית מכל כליו וגם אין להבן מקום לדור סמכה דעתיה דבן, וסברא הוא שנתנו לו [תוס'], וזהו כהלכה למשה מסיני שהקנאה זו הוא בלא שטר ובלא קניין [נמק"י].