You may eat from your neighbour’s crop but you may not gather from it

24 “When you come into your neighbor’s vineyard, you may eat your fill of grapes at your pleasure, but you shall not put any in your container. 25 When you come into your neighbor’s standing grain, you may pluck the heads with your hand, but you shall not use a sickle on your neighbor’s standing grain.

Deuteronomy 23:24-25 (NKJV)