Sahih al-Bukhari Book 73, Hadith 16
I heard the Prophet (ﷺ) delivering a sermon, and he said (on the Day of `Id-Allah. a), "The first thing we
will do on this day of ours is that we will offer the `Id prayer, then we will return and slaughter our
sacrifices; and whoever does so, then indeed he has followed our tradition, and whoever slaughtered
his sacrifice (before the prayer), what he offered was just meat that he presented to his family, and that
was not a sacrifice." Abu Burda got up and said, "O Allah's Messenger (ﷺ)! I slaughtered the sacrifice before
the prayer and I have got a Jadha'a which is better than an old sheep." The Prophet (ﷺ) said, "Slaughter it
to make up for that, but it will not be sufficient for anybody else after you."
Allah's Messenger (ﷺ) entered upon me at Sarif while I was weeping (because I was afraid that I would not be able to perform the ,Hajj). He said, "What is wrong with you? Have you got your period?" I replied, "Yes." He said, "This is a matter Allah has decreed for all the daughters of Adam, so perform the ceremonies of the Hajj as the pilgrims do, but do not perform the Tawaf around the Ka`ba." Allah's Messenger (ﷺ) slaughtered some cows as sacrifices on behalf of his wives.
The Prophet (ﷺ) said, "Whoever slaughtered the sacrifice before the `Id prayer, should repeat it (slaughter another one)." A man said "This is the day on which meat is desired." Then he mentioned the need of his neighbors (for meat) and the Prophet (ﷺ) seemed to accept his excuse. The man said, "I have a Jadha'a which is to me better than two sheep." The Prophet (ﷺ) allowed him (to slaughter it as a sacrifice). But I do not know whether this permission was general for all Muslims or not. The Prophet (ﷺ) then went towards two rams and slaughtered them, and the people went towards their sheep and slaughtered them.