This is derived from Deuteronomy 23:25, which states: "When you enter the vineyard of your colleague, you may eat grapes as you desire," and ibid.:26, which states: "When you enter the standing grain belonging to your colleague, you may break off stalks by hand." According to the Oral Tradition, we learned that these verses are speaking solely about a paid worker. For if the owner of the produce did not hire him, what right does the person have to enter his colleague's vineyard or standing grain without his permission? Instead, the interpretation of the verse is that when you enter the domain of your employer for work, you may eat.
For example, a person harvests grapes and puts them into a large basket. When the basket is filled, it is taken away and emptied in another place. According to Scriptural Law, the worker may eat only when the basket has been filled. Nevertheless, in order to prevent the owner from suffering a loss, the Sages ruled that the workers may eat while they are walking from one row to another and while they are returning from the vat, so that they will not neglect their work to sit down and eat. Instead, they were granted permission to eat while they are performing their work, so that they will not neglect it.
According to the Oral Tradition, it is explained that as long as the worker is involved in reaping, he should not lift a sickle in order to partake of the produce himself. Similar laws apply in all analogous situations.
Similarly, a worker who carries home produce with which he had worked or who takes more than he can eat himself and gives to others transgresses a negative commandment, as ibid.:28 states: "You may not place in your containers." The violation of these two prohibitions is not punishable by lashes, because a person who ate when one should not have or took produce home is liable to make financial restitution.
When a person hoes around onion heads and garlic heads, even though he removes small ones from the larger ones, or the like, he may not partake of them, because this activity does not constitute the completion of the task.
Needless to say, watchmen over gardens, orchards and fields where any crops are grown - e.g., cucumber gardens and gourd gardens - may not partake of the produce growing there at all.
A person who works with wheat and the like after they have been tithed - e.g., a person was hired to remove pebbles from grain, to sift the kernels or to grind them - may partake of them, for the work that obligates the performance of the mitzvah of challah has not been completed. When, however, a person kneads dough, bastes loaves or bakes, he may not partake of the food, because the work that obligates the performance of the mitzvah of challah has become completed. And a worker may not partake of produce except when the work that obligates the performance of the mitzvah of tithing or challah has not been completed.
Workers may not partake of the crops in a field that was consecrated to the Temple treasury. This is derived from Deuteronomy 23:25, which speaks of "your colleague's vineyard."
If, however, a person works with his limbs whether with his hands, his feet or even with his shoulders, he is entitled to partake of produce according to the Torah.
When a person is working with one vine, he may not eat from another vine. Nor may he partake of grapes together with other food; he should not partake of them together with bread or salt. If, however, the worker set a limit concerning the quantity that he may eat, he may eat the produce with salt, with bread or with any other food that he desires.
It is forbidden for a worker to suck the juice from grapes, for the verse states: "And you shall eat grapes." Neither the worker's sons nor his wife may roast the kernels of grain in a fire for him. This is implied by the above verse, which states: "You may eat grapes as you desire." The implication is that you must desire the grapes as they are. Similar laws apply in all analogous situations.
A worker may eat even a dinar's worth of cucumbers or dates even though he was hired to work only for a silver me'ah. Nevertheless, we teach a person not to be a glutton, so that he will not close the doors in his own face. if a person is guarding four or five grain heaps, he should not eat his fill from only one of them. Instead, he should eat an equal amount from each one.
When does the above apply? When they are past majority, because they are intellectually mature, responsible for their decisions, and willingly gave up the right the Torah granted them. If, however, the children are minors, their father cannot pledge that they will not eat, for they are not eating from his property or from what the employer grants them, but rather from what they were granted by God.
הלכות שכירות פרק יב
א) הפועלים שהן עושין בדבר שגדולו מן הארץ ועדיין לא נגמרה מלאכתו בין בתלוש בין במחובר ויהיו מעשיהן גמירת המלאכה הרי על בעל הבית מצוה שיניח אותן לאכול ממה שהן עושין בו, שנאמר כי תבא בכרם רעך וגו' וכתוב כי תבא בקמת רעך מפי השמועה למדו שאין הכתוב מדבר אלא בשכיר וכי אילו לא שכרו מי התיר לו שיבא בכרם רעהו בקמה שלו שלא מדעתו אלא כך הוא אומר כי תבא לרשות בעלים לעבודה תאכל.
ב) מה בין העושה בתלוש לעושה במחובר שהעושה בתלוש אוכל בדבר עד שלא נגמר מלאכתו ומשתגמר מלאכתו אסור לו לאכול, והעושה במחובר כגון בוצר וקוצר אינו אוכל אלא כשיגמור עבודתו כגון שיבצור ויתן בסל עד שימלאנו וינפץ הסל למקום אחר ויחזור ויבצור וימלאנו ואינו אוכל אלא עד אחר שימלא הסל, אבל מפני השב אבידה לבעלים אמרו חכמים שיהיו הפועלין אוכלין בהליכתן מאומן לאומן ובחזירתן מן הגת כדי שלא יבטלו ממלאכתן וישבו לאכול אלא אוכלין בתוך המלאכה כשהן מהלכין ואינן מבטלין.
ג) המבטל ממלאכתו ואכל או שאכל שלא בשעת גמר מלאכה הרי זה עובר בלא תעשה שנאמר וחרמש לא תניף וגו', מפי השמועה למדו שכל זמן שהוא עוסק בקצירה לא יניף חרמש לאכילתו וכן כל כיוצא בזה, וכן פועל שהוליך בידו ממה שעשה או שלקח יתר על אכילתו ונותן לאחרים עובר בלא תעשה שנאמר ואל כליך לא תתן, ואין לוקין על שני לאוין אלו שאם אכל או הוליך חייב לשלם.
ד) החולב והמחבץ והמגבן אינו אוכל מפני שאינן גידולי קרקע, המנכש בבצלים ובשומין אף על פי שתולשין קטנים מבין הגדולים וכל כיוצא בזה אינו אוכל מפני שאין מעשיהם גמר מלאכה, ואין צריך לומר שומרי גנות ופרדסים וכל דבר המחובר כמקשאות והמדלעות שאן אוכלין כלל.
ה) הבודל בתמרים ובגרוגרות אינו אוכל מפני שנגמרה מלאכתן למעשר, העושה בחטים וכיוצא בהן אחר שעשו כגון ששכרן לבור צרורות או לנפח אותן או לטחון הרי אלו אוכלין שעדיין לא נגמרה מלאכתן לחלה, אבל הלש והמקטף והאופה אינו אוכל מפני שנגמרה מלאכתן לחלה ואין הפועל אוכל אלא מדבר שעדיין לא נגמרה מלאכתו לחלה ולמעשר.
ו) נתפרסו עגוליו ונתפתחו חביותיו ונחתכו דלועיו ושכרן לעשות בהן הרי אלו לא יאכלו שהרי נגמרו מלאכתן ונקבעו למעשר והרי הן טבל, ואם לא הודיען מעשר ומאכילן, אין הפועלים אוכלין בשל הקדש שנאמר בכרם רעך.
ז) שכר פועלין לעשות בנטע רבעי שלו הרי אלו לא יאכלו, ואם לא הודיעם פודה ומאכילן.
ח) הקוצר והדש והזורה והבורר והמוסק והבוצר והדורך וכל כיוצא במלאכות אלו הרי הם אוכלין מן התורה.
ט) שומרי גתות וערמות וכל דבר התלוש מן הקרקע שעדיין לא נגמרה מלאכתן למעשר אוכלין מהלכות מדינה שהשומר אינו כעושה מעשה, אבל אם עשה באיבריו בין בידיו בין ברגליו אפילו בכתפיו הרי זה אוכל מן התורה.
י) היה עושה בתאנים לא יאכל בענבים בענבים לא יאכל בתאנים שנאמר בכרם ואכלת ענבים, והעושה בגפן זו אינו אוכל בגפן אחרת, ולא יאכל ענבים ודבר אחר, ולא יאכל בפת ולא במלח ואם קצץ על בעל הבית על שיעור מה שיאכל אוכל אותו בין במלח בין בפת בין בכל דבר שירצה, אסור לפועל למוץ בענבים שנאמר ואכלת ענבים, ולא יהיו בניו או אשתו מהבהבין לו השבלין באור שנאמר ואכלת ענבים כנפשך ענבים כמות שהן וכן כל כיוצא בזה.
יא) אסור לפועל לאכול ממה שהוא אוכל אכילה גסה שנאמר כנפשך שבעך, ומותר לו למנוע את עצמו עד מקום היפות ואוכל, ויש לו לאכול קישות אפילו בדינר וכותבת אפילו בדינר אף על פי ששכרו במעה כסף שנאמר כנפשך שבעך, אבל מלמדין את האדם שלא יהיה רעבתן ויהיה סותם את הפתח בפניו, היה משמר ארבע או חמש ערמות לא ימלא כרסו מאחת מהן אלא אוכל מכל אחת ואחת לפי חשבון.
יב) הפועלים שלא הלכו שתי וערב בגת אוכלין ענבים ואין שותין יין שעדיין אינן עושין אלא בענבים בלבד, ומשידרכו בגת ויהלכו בה שתי וערב יש להן לאכול מן הענבים ולשתות מן התירוש שהרי הן עושין בענבים וביין.
יג) פועל שאמר תנו לאשתי ובני מה שאני אוכל או שאמר הריני נותן מעט מזה שנטלתי לאכול לאשתי ובני אין שומעין לו שלא זכתה תורה אלא לפועל עצמו, אפילו נזיר שהיה עושה בענבים ואמר תנו לאשתי ובני אין שומעין לו.
יד) פועל שהיה עושה הוא ואשתו ובניו ועבדיו והתנה עם הבעל הבית שלא יאכלו ממה שהן עושין לא הוא ולא הם הרי אלו אינן אוכלין, במה דברים אמורים בגדולים מפני שיש בהם דעת והרי מחלו אבל קטנים אינו יכול לפסוק עליהם שלא יאכלו שאינן אוכלין משל אביהן או משל אדוניהם אלא משל שמים.