Tashbetz Katan Siman 526
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.
ומי שהשכיר סופר או מלמד או שכיר ורוצה השכיר לחזור בו הבעל בית יכול להתנות עמו ליתן לו יותר ולא יתן לו כדאיתא בב"מ פרק השוכר את האומנים (דף עה) שוכר עליהם ומטען: