Hamilton police city tactical co-ordinator Freda Grace said officers noticed a smell coming from a smashed window and when they looked in saw an indoor cannabis-growing operation.
An officer then called the victim to break the news of the burglary and when he asked which window, the officer replied: "The one where cannabis was growing".
"There was a bit of a delay before the victim replied he would be down there shortly," Ms Grace said.
One man was charged with burglary and the victim was charged with cultivating cannabis.
Ms Grace praised the neighbour's efforts. Although there was a funny side to Tuesday's break-in, she said there was nothing funny about illegal drugs contributing to dishonesty offending.