Numbers 6:2-3

6:2 “Speak to the Israelites, and tell them, ‘When either a man or a woman takes a special vow, to take a vow as a Nazirite, to separate himself to the Lord, 6:3 he must separate himself from wine and strong drink, he must drink neither vinegar made from wine nor vinegar made from strong drink, nor may he drink any juice of grapes, nor eat fresh grapes or raisins.

Numbers 6:5

6:5 “‘All the days of the vow of his separation no razor may be used on his head until the time is fulfilled for which he separated himself to the Lord. He will be holy, and he must let the locks of hair on his head grow long.