Deuteronomy 24:20

24:20 When you beat your olive tree you must not repeat the procedure; the remaining olives belong to the resident foreigner, orphan, and widow.

Deuteronomy 28:40

28:40 You will have olive trees throughout your territory but you will not anoint yourself with olive oil, because the olives will drop off the trees while still unripe.