There was another custom among them regarding shoshvinut, that sometimes the father would designate one of the sons, saying to him, "Go and perform shoshvinut for so-and-so," and sometimes he would say to all of them, "One of you shall perform shoshvinut for so-and-so." The practical difference is that if he sent it through one of his sons and designated him, saying to him, "Go and perform shoshvinut for so-and-so," when it returns at the time of his wedding, it returns to him alone. But when he said, "One of you," and this one went and performed it, it returns to all of them like any other loan that their father extended [Tur].
The Rambam and the Shulchan Aruch wrote that if a father sent shoshvinut in the name of one of his sons, when the shoshvinut returns to that son, it is his. But if the father sent it in the name of his sons generally, when it returns, it returns to the middle, and the one to whom it was sent is not obligated to return it until they all rejoice with him [when they all marry wives, he shall send to each one a portion of his shoshvinut], for they are all shoshvinim since it was sent in the name of all of them. Therefore, if he rejoiced with some of them, he returns only the portion of the one with whom he rejoiced, and it goes to the middle. Thus far his words.
There are those who disagree with this, for in such a case it belongs to the one who married. The reasoning of the Rambam, of blessed memory, is that perhaps the others will not marry and this person will not be obligated to return their portion to them, yet their father intended to grant merit to all of them since he sent it in the name of all of them; therefore, it goes to the middle [Maggid Mishneh chapter 9]. And in any event, regarding the marriage of the other, when he returns the portion of this one, they will all likewise benefit, and this one suffers no loss in that they all benefit now, for at their weddings he will benefit from them. And if they do not marry, then by law it goes to the middle according to the intention of the father, as has been explained.
עוד היה המנהג אצלם בשושבינות דלפעמים היה האב מייחד לאחד מן הבנים לאמר לו לך ותעשה שושבינות לפלוני ולפעמים היה אומר לכולם אחד מכם יעשה שושבינות לפלוני ונ"מ דאם שלח ע"י אחד מבניו ויחדו לזה שא"ל לך ותעשה שושבינות לפלוני כשחוזרת לעת חתונתו חוזרת לו לבדו אבל כשאמר אחד מכם והלך זה ועשה חוזרת לכולם כשאר הלואה שהלוה אביהם [טור] והרמב"ם והש"ע כתבו דהאב ששלח שושבינות בשם אחד מבניו כשתחזור השושבינות לאותו הבן הרי היא שלו אבל אם שלחה האב בשם בניו סתם כשתחזור תחזור לאמצע ואין זה שנשתלחה לו חייב להחזירה עד שישמחו בו כולם [כשכולם ישאו נשים ישלח לכ"א חלק משושבינותו] שהרי כולם שושבינים שבשם כולם נשתלחה לפיכך אם שמח במקצתם מחזיר חלק זה ששמח עמו בלבד והרי הוא לאמצע עכ"ל ויש חולקין בזה דבכה"ג הוי של אותו שנשא וטעמו של הרמב"ם ז"ל דאולי האחרים לא ישאו ולא יתחייב זה להחזיר להם חלקם ואביהם היה דעתו לזכות לכולם שהרי בשם כולם שלחה ולכן הוי לאמצע [הה"מ פ"ט] וממ"נ לנשואי האחר כשיחזיר חלקו של זה יהנו ג"כ כולם ואין לזה היזק במה שעתה יהנו כולם דבנשואים שלהם יהנה הוא מהם ואם לא ינשאו הרי מדינא הוא לאמצע לפי כוונת האב כמ"ש: