I believe the answer is: Social loafing
Social loafing refer to a phenomenon when someone is making less effort when they are working in a group.
This feeling is developed due to the underlying assumption that his/her group would collectively taker care of his/her responsibilities, so that person could afford to work less.