A firearm and a £120,000-plus cannabis farm were seized after police stopped a wanted man.