It wasnarrated that 'Aishah said:
"We went out with the Messenger ofAllah (ﷺ) when there were five nights left of Dhul-Qa'dah,intendingonly to perform Hajj. When we came close, the Messenger ofAllah (ﷺ)ordered that whoever did not have a sacrificial animal,then he shouldexit the Ihram. So all the people exited Ihram, exceptthose who hadthe sacrificial animal. When the Day of Sacrifice i.e.,the 10th ofDhul-Hijjah) came, some beef was brought tous, and it was said: 'TheMessenger of Allah (ﷺ) has offered asacrifice on behalf of hiswives.'"
English reference: Vol. 4, Book 25, Hadith 2981
Arabic reference: Book 25, Hadith 3095