From Sahih Muslim (Hadith 3186):
Jabir (Allah be pleased with him) reported:We set out in the state of Ihram for Hajj along, with Allah's Messenger (ﷺ). He commanded us that seven persons should join in a camel and a cow for offering sacrifice
Reference: Muslim 3186