Explosion proof enclosure wiring
Simple answer is use Ex d (flameproof) or Ex e (increased safety) glands: -



Here's where I found this.

You don't "fill" the hole by the way - an Ex d enclosure has a controlled flame path that restricts the hot gasses leaving and cools them down so they don't detonate gas outside the enclosure. For cables try the same folk: -