Is working out everyday good for gaining muscles?

Some people told me muscles grow when they rest.
Others say the more you work out the more muscles you gain.
I want to work out everyday for 3 hrs. (I know sounds crazy. But I want to reach my body goal as soon as possible)
Is working out everyday good for gaining muscles?
Post Opinion