Before the prayer: the Sunnahs of Eid morning
Take a ghusl (see how to perform ghusl), wear your best clothes and, for men, perfume. On Eid al-Fitr, eat something before leaving, ideally an odd number of dates (Sahih al-Bukhari 953), and pay zakat al-fitr before the prayer. On Eid al-Adha, delay eating until after the prayer, so you eat from your sacrifice (Sunan at-Tirmidhi 542). Say the takbirs on the way, aloud for men, and go by one route and return by another (Sahih al-Bukhari 986).
The takbirs of Eid
The common wording is: اللّٰهُ أَكْبَرُ، اللّٰهُ أَكْبَرُ، لَا إِلٰهَ إِلَّا اللّٰهُ، وَاللّٰهُ أَكْبَرُ، اللّٰهُ أَكْبَرُ، وَلِلّٰهِ الْحَمْدُ: “Allah is the Greatest, Allah is the Greatest, there is no god but Allah; Allah is the Greatest, Allah is the Greatest, and to Allah belongs all praise.” For Eid al-Adha, the takbir is also said after every fard prayer from Fajr on the day of ʿArafah until ʿAsr on the 13th of Dhul-Hijjah (takbir at-tashriq).
The time and the place
The prayer is prayed after the sun has risen a little, about 15–20 minutes after sunrise, until just before midday. It is Sunnah to pray it in an open prayer ground (muṣallā) where possible; in many cities it is held in large masjids. There is no adhan or iqamah, and no Sunnah prayer before or after it at the prayer ground. Women and children should be brought: the Prophet ﷺ even told women in their menses to come out, stay apart from the prayer and witness the good and the dua (Sahih al-Bukhari 324).
First rakat (Hanafi)
1. Make the intention for the two rakats of the Eid prayer, wajib, behind the imam, with six extra takbirs. 2. Say the opening اللّٰهُ أَكْبَرُ with raised hands and fold them, then quietly recite the opening praise (thana). 3. Then come three extra takbirs: raise your hands to the ears with each one and let them fall to your sides, pausing briefly between them; after the third, fold your hands. 4. The imam recites Al-Fatiha and a surah aloud (often Al-Aʿla or Qaf), then ruku and the two prostrations as usual.
Second rakat (Hanafi)
5. Stand up; the imam recites Al-Fatiha and a surah (often Al-Ghashiyah or Al-Qamar). 6. After the recitation and before ruku, come the three extra takbirs again, raising and dropping the hands each time. 7. A fourth takbir, without raising the hands, takes you into ruku. Complete the rakat, sit for the tashahhud, salawat and dua, and end with the salam, as in any prayer.
How other schools differ
The Hanafi count of three extra takbirs in each rakat comes from Ibn Masʿud. The Shafiʿi and Hanbali schools say seven extra takbirs in the first rakat before the recitation and five in the second before the recitation, based on a hadith of ʿAmr ibn Shuʿayb (Sunan Abi Dawud 1151). Follow your imam: if he follows another school, pray as he prays.
The khutbah
After the prayer the imam gives the khutbah, as the Prophet ﷺ prayed first and then addressed the people (Sahih al-Bukhari 957). Staying to listen is Sunnah, and it is part of the day’s blessing. On Eid al-Adha the sacrifice is made after the prayer, not before (Sahih al-Bukhari 965); see the dua for the sacrifice.
If you miss it, or arrive late
If you arrive after the imam has said the extra takbirs of the first rakat, say the opening takbir and the three extra takbirs yourself, then follow him. If you catch him in ruku, join and continue. If you miss the whole prayer, in the Hanafi school it is not made up alone; try to join a later congregation at another masjid. Many cities have several Eid prayers at different times.
After the prayer
Greet one another: the Companions said taqabbala-llāhu minnā wa minkum, and “Eid mubārak” is common and fine. Visit family, give gifts to children, and remember those in need. On Eid al-Fitr many also begin the six days of Shawwal: whoever fasts Ramadan and follows it with six days of Shawwal, it is like fasting the whole year (Sahih Muslim 1164).