Parshas Naso · Passuk 6:20
The priest shall wave them as a wave offering before Hashem; it is holy for the priest, together with the breast of the wave offering and the thigh of the contribution. After that the nazirite may drink wine.
Torah Temimah points to Nazir 46a (Planning / Sefaria).
English: “And afterward the nazirite may drink wine.” The Sages taught: “Afterward” means after a single act. Why? It is written here “afterward” and it is written there “after he has shaved his nazirite head”; just as there it is after a single act, so here it is after a single act.
A / D — Semantic or conceptual inference (gezeirah shavah)
The word “afterward” teaches that the nazirite may drink wine only after the completion of a single decisive act of the concluding rite, by comparison with the parallel language used for the shaving.