The most effective and easiest way to eliminate this type of contaminants or foreign bodies is the installation of rare earth magnets at critical points, such as the entry of raw material, at intermediate and final points of your production line. These are the most powerful and an easy solution, and long life of use.
Not only to prevent ferrous particles from contaminating your product, damaging other equipment or your brand.