Deuteronomy 23:24-25
24 If you enter your neighbor’s vineyard, you may eat all the grapes you want, but do not put any in your basket.
25 If you enter your neighbor’s grainfield, you may pick kernels with your hands, but you must not put a sickle to his standing grain.