The Ruling on the Eid Prayers
The Eid prayers are obligatory upon every person who is legally accountable.
➊ It is narrated from Umm Atiyyah (may Allah be pleased with her):
امرنا أن نخرج العوائق والحيض فى العيدين يشهدن الخير ودعوة المسلمين و تعتزل الحيض المصلي
“We were commanded to bring out the young girls and the menstruating women to the two Eids, so that they may witness the good and the supplication of the Muslims, but the menstruating women are to keep apart from the place of prayer (that is, they should not pray).”
➋ In one narration of Sahih al-Bukhari the words are:
أمرنا نبينا أن نخرج
“Our Prophet ﷺ commanded us to bring out (these women).”
➌ In another narration, Umm Atiyyah (may Allah be pleased with her) asked the Messenger of Allah ﷺ whether there is any blame on one of us who has no cloak and therefore cannot go out (to the Eid prayer). He ﷺ said:
لتلبسها صاحبتها من جلبابها فليشهدن الخير ودعوة المسلمين
“Let her companion give her a part of her own cloak to wear, and then let them witness the good and the supplication of the Muslims.”
➍ Some people came to the Prophet ﷺ and testified that they had seen the moon the previous day, so:
فأمرهم أن يفطروا وإذا أصبحوا أن يغدو إلى مصلاهم
“He ﷺ commanded them to break their fast, and when morning came, to go out to their place of prayer (the Eid prayer ground).”
When even menstruating women and excused women who have no cloak are commanded to attend the Eid prayer ground, then men are all the more so commanded.
Some scholars have taken the verse فَصَلِّ لِرَبِّكَ وَانْحَرُ to mean the Eid prayer, but this is not the preponderant view, because this surah is Makki and the Eid prayer was legislated in Madinah.
(Shawkani, may Allah have mercy on him) The Eid prayer is obligatory.
(Amir al-San’ani, may Allah have mercy on him) The Eid prayer is obligatory on each individual (fard ‘ayn).
(Siddiq Hasan Khan, may Allah have mercy on him) holds the same view.
(Albani, may Allah have mercy on him) The truth is that the Eid prayer is obligatory.
The jurists have differed somewhat on this issue.
(Ahmad, may Allah have mercy on him) The Eid prayer is a communal obligation (fard kifayah).
(Abu Hanifah, may Allah have mercy on him) The Eid prayers are obligatory only upon the one upon whom the Friday prayer is obligatory.
(Malik and Shafi’i, may Allah have mercy on them) This prayer is a confirmed sunnah (sunnah mu’akkadah).
(The preponderant view) This prayer is obligatory on each individual (fard ‘ayn) upon every person who is legally accountable, and its evidences have been presented earlier.
It is narrated from Ibn Abbas (may Allah be pleased with them both):
ان النبى صلى الله عليه وسلم صلى يوم العيد ركعتين لم يصل قبلهما ولا بعدهما
“The Prophet ﷺ led two rak’ahs of prayer on the day of Eid, and did not pray any prayer before or after those two rak’ahs.”
From this hadith it is known that the Eid prayer is two rak’ahs, as established by the Sunnah.