Well, the best solution is to add enemy and gun sprites into a container.
Without the container you will need two separate events - Bullet on collision with Enemy, and Bullet on collision with Gun. And in the second event you will need to pick the Enemy instance which the gun belongs to.