We sacrificed alongside the Messenger of Allah ﷺ at Hudaybiyyah, a camel on behalf of seven people and a cow on behalf of seven.
حدثنا قتيبة حدثنا مالك بن أنس عن أبي الزبير
نحرنا مع رسول الله ﷺ بالحديبية البدنة عن سبعة والبقرة عن سبعة
...etc, hadith no. 1318. Regarding the referencing, Muslim also narrated it, in Hajj, chapter on the permissibility of sharing in the sacrificial animal, from Qutayba, with this wording, and it is in Muwatta 2/486 (Yahya).