Its end is at midday. If the Eid is not known about until after that, they pray it the following day. It is recommended to perform it in an open outdoor space, and to perform the Eid al-Adha prayer early; the reverse applies to Eid al-Fitr.
His statement, “Its end is at midday,” means that the end of the Eid prayer’s time is when the sun passes the zenith. When the sun rises, every upright object—that is, everything elevated—casts a shadow toward the west. As the sun rises higher, the shadow decreases; when it has reached its shortest point and then begins to increase, this is the sign that the sun has passed the zenith.
His statement, “If the Eid is not known about until after that, they pray it the following day,” means that if the Eid is not known about until after midday, they do not pray it that day; rather, they perform it the following day at the time of the Eid prayer. The evidence for this is what Abu Umayr ibn Anas narrated from some of his paternal uncles among the Ansar. They said: “The crescent moon of Shawwal was obscured from us, so we began the morning fasting. Then, at the end of the day, some riders arrived and testified that they had seen the crescent the previous day. So the Prophet, peace and blessings be upon him, instructed the people to break their fast that day and to go out for their Eid prayer the following day.” It was narrated by Ahmad, Abu Dawud, and al-Daraqutni, who graded it sound (1).
Thus, if the people do not learn of the Eid until after midday, then on Eid al-Fitr they break their fast, because it has become clear that it is the day of Eid, and fasting on the day of Eid is forbidden. On Eid al-Adha, they wait for the prayer and do not offer their sacrifices until after it on the following day.
Here the classification concerning making up missed prayers is complete. Prayers, with regard to making them up, are divided into categories:
The first is that which is made up in its prescribed manner if its time has passed, once the legally valid excuse has ended, such as the five daily prayers when they are missed: you make them up