IPC 34: Section 34 of the Indian Penal Code

Acts done by several persons in furtherance of common intention -

When a criminal act is done by several persons in furtherance of the common intention of all, each of such persons is liable for that act in the same manner as if it were done by him alone.