Our teacher, the Rema, wrote that those whose finds belong to him, the same applies if they profited in merchandise or in labor. Thus far his words. The author of the Levushim omitted this gloss, and his reason is clear, for we have not found anywhere that his handiwork is dependent upon a find; for regarding a wife there are two enactments: her handiwork belongs to her husband because of her sustenance, and her find because of ill-will. It is even more puzzling that the source of the law is from the Ittur in the name of the Yerushalmi, which our teacher, the Beit Yosef, cited at the end of siman 177, and there it refers to when the son profited from the household estate. This is also proven in the Yerushalmi, Bava Batra chapter 9, halacha 3, see there. There is one who brought a proof for this law from what our sages, of blessed memory, said [Bava Metzia 92b] that a father may stipulate regarding his son the laborer that he shall not eat during the time of his work [Shach]. But this is no proof, for there it is by reason of waiver; and in truth, who is to say to us that the profit belongs to the father? For our sages, of blessed memory, only said that in this case he does not transgress the prohibition of "do not muzzle." Also, that which our teacher, the Rema, concluded, and this is his wording: But if he dies, he does not bequeath the labor of one son to the other heirs. Thus far his words. And his source is from the Hagahot Mordechai, the first chapter of Bava Metzia, and there the question was regarding books that one of the sons wrote, and it is proven there as well that the entire business was from the household estate, as they were occupied with their father's property. Therefore, it appears to me that our teacher, the Rema, is also dealing with what they profited in their father's business, such as if they sold his merchandise or occupied themselves with his labor, for this is certainly so: everything they profited in his business, even though another person would have taken a fee for his exertion, they do not take it since they are supported at his table. But when they performed some business on their own, it does not belong to the father [and with this, the difficulty of the Netivot Mishpat is also answered].
כתב רבינו הרמ"א דאלו שמציאתן שלו ה"ה אם הרויחו בסחורה או במלאכה עכ"ל ובעל הלבושים השמיט הגה"ה זו וברור טעמו דהרי לא מצינו בשום מקום שמעשה ידיו תלוי במציאה והרי באשה שתי תקנות הוי מעשה ידיה לבעלה מפני מזונותיה ומציאתה מפני איבה ויותר תמוה שמקור הדין הוא מהעיטור בשם ירושלמי שהביא רבינו הב"י בס"ס קע"ז ובשם הוא כשהבן הרויח מתפוסת הבית וכן מוכח בירושלמי דב"ב פ"ט הלכה ג' ע"ש ויש מי שהביא ראיה לדין זה ממה שאמרו חז"ל [ב"מ צב:] דיכול האב לקצוץ על יד בנו הפועל שלא יאכל בעת מלאכתו [ש"ך] ואין זה ראיה דהתם מטעם מחילה הוא ובאמת מאן לימא לן דהריוח הוא של האב דלא אמרו חז"ל רק שבזה אינו עובר על לאו דלא תחסום גם מה שסיים רבינו הרמ"א וז"ל אבל אם מת אינו מוריש מלאכת בן אחד לשאר יורשיו עכ"ל ומקורו מהגהת מרדכי פ"ק דב"מ ושם היתה השאלה לענין ספרים שאחד מן הבנים כתבן ומוכח שם ג"כ שהיה כל העסק מתפוסת הבית שעוסקים בנכסי אביהם ולכן נ"ל דרבינו הרמ"א מיירי ג"כ במה שהרויחו בעסקי אביהם כגון שמכרו סחורתו או עסקו במלאכתו דזהו ודאי כל מה שהרויחו בעסקיו אע"פ שאדם אחר היה נוטל שכר טירחא הם אינם נוטלין כיון שסמוכים על שלחנו אבל כשעשו איזה עסק בפ"ע אינו שייך להאב [ובזה מתורץ גם קושית הנתיבות משפט]: