Leviticus 19:23-25

23When you come into the land and plant any kind of tree for food, then you shall regard its fruit as forbidden.
Hebrew  as its uncircumcision
Three years it shall be forbidden to you; it must not be eaten.
24And in the fourth year all its fruit shall be holy, an offering of praise to the Lord. 25But in the fifth year you may eat of its fruit, to increase its yield for you: I am the Lord your God.

Deuteronomy 20:6

6And is there any man who has planted a vineyard and has not benjoyed its fruit? Let him go back to his house, lest he die in the battle and another man enjoy its fruit.
Copyright information for ESV