Sahih al-Bukhari 2300
Sahih al-Bukhari · Book 40: Representation, Authorization, Business by Proxy · A partner can deputize for another
Narrated `Uqba bin Amir:
حَدَّثَنَا عَمْرُو بْنُ خَالِدٍ ، حَدَّثَنَا اللَّيْثُ ، عَنْ يَزِيدَ ، عَنْ أَبِي الْخَيْرِ ، عَنْ عُقْبَةَ بْنِ عَامِرٍ ـ رضى الله عنه ـ أَنَّ النَّبِيَّ صلى الله عليه وسلم أَعْطَاهُ غَنَمًا يَقْسِمُهَا عَلَى صَحَابَتِهِ، فَبَقِيَ عَتُودٌ فَذَكَرَهُ لِلنَّبِيِّ صلى الله عليه وسلم فَقَالَ "ضَحِّ بِهِ أَنْتَ."
that the Prophet (ﷺ) had given him sheep to distribute among his companions and a male kid was left (after the distribution). When he informed the Prophet (ﷺ) of it, he said (to him), "Offer it as a sacrifice on your behalf."