It's "nip in the bud"
EDIT: as in, cut off the flower bud before it blooms
Re:Saying Sorry When Things Go Wrong [pdf]
by sitharus on Tuesday July 11, 2017 @11:42PM
(#14750000)
And for some extra context, this is a horticultural practice to improve yield by forcing resources away from flowering and fruiting. This could be to produce fewer larger fruit or to encourage plant growth.
Whether it's something as simple as someone humming at their chair in an open office layout or something a bit more complex such as you and your neighbors situation, presenting how feel in a clear and less emotional way always works out better than bottling up your feelings until one party blows up. People, for their part, seem to be genuinely reasonable and understanding when given the opportunity.