To figure out questions related to reacting moles/masses, the first step is always to write a complete balanced equation.
2Fe (s) + 3Cl2 (g) → 2FeCl3 (s)
Since Cl2 is the excess reactant, and Fe is the limiting reactant, we can simply find the number of moles of the product by comparing the mole ratio of the limiting reactant to the mole ratio of the product from the equation.
From the equation, mole ratio of Fe:FeCl3 = 2:2 = 1:1, the number of moles of product is exactly the same as the number of moles of the limiting reactant, which makes it 8 moles.
Note that if the mole ratio is not 1:1, you have to do some calculations to make sure the no. of moles is balanced at the end. Which means, if the mole ratio happened to be 1:2, the no. of moles of the product would be 8x2=16 instead.
So, your answer is 8 moles.