Sayyiduna Jabir bin Abdullah (may Allah be pleased with him) said: We offered the sacrifice of a cow on behalf of seven people along with the Messenger of Allah (peace and blessings be upon him). Imam Darimi (may Allah have mercy on him) was asked: Do you say the same? He replied: Yes.
Brief Explanation
(Commentary on Ahadith 1993 to 1995)
These ahadith establish that up to seven people can participate in the sacrifice of a cow; the same ruling applies to a camel. In some narrations, it is mentioned that up to ten people can participate in the sacrifice of a camel.
See: [ترمذي 1501], but the preferable (awla) and more precautionary (ahwat) view is that only seven people should participate.