Shulchan Arukh, Even HaEzer Siman 60
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
כשנושא אדם אשה דרך שריעיו ומיודעיו שולחין לו מעות כדי שיתחזק על ההוצאה שמוציא במשתה ואלו המעות נקראים שושבינות ושושבינות זו אינה מתנה גמורה שלא שלח לו זה אלא שאם ישא הוא אשה יחזור וישלח לו כמו ששלח לו לפיכך אם נשא זה אשה ולא החזיר לו השושבינות ה"ז תובעו בדין ומוציא ממנו ויש בזה כמה חלוקים ולפי שבזמן הזה לא נהגו לתבוע תביעה זו ראיתי שלא להאריך בזה:
When a man marries a woman, it is the custom that his friends and acquaintances send him money to help defray the cost of the wedding feast, and these funds are called shushvinut (groomsmen's gifts). These gifts are not complete gifts, for this [friend] did not send if except [with the understanding that] if he were to marry a woman, this [groom] would likewise send him money as [the friend] had sent. Therefore if he [the friend] marries a woman and he [the original groom] did not return groomsmen's gifts, the friend may make a claim in court and collect the funds. There are a number of distinctions, and since nowadays it is not customary to make these claims, I decided not to elaborate on these laws.