Ayyub (may Allah have mercy on him) narrated: "I saw Sayyiduna Anas bin Malik (may Allah be pleased with him) and al-Hasan (al-Basri, may Allah have mercy on him) praying on the day of Eid before the imam came out (for the prayer)." He also said: "And I saw Muhammad bin Sirin; he came, then sat down and did not pray."
Abu Ya'la recorded it. Imam al-Bayhaqi said in his Sunan: It has reached us from Sa'id bin al-Musayyib that "he used to pray on the day of Eid before the imam led the prayer"; and it is narrated from Urwah bin al-Zubayr that "he used to pray on the day of Eid al-Fitr in the mosque before the (Eid) prayer and after it"; and it is narrated from al-Qasim bin Muhammad that "he used to pray four rak'ahs before setting out for the Eid prayer-ground"; while it is narrated from Muhammad bin Sirin that "he used to pray eight rak'ahs after the Eid." A group of the people of knowledge considered (voluntary) prayer before and after the Eid prayer disliked (makruh); some considered it disliked before it but not after it; while some considered praying it at the Eid prayer-ground disliked but did not consider praying it in the mosque or at home disliked. The day of Eid is like other days: when the sun has risen high, voluntary prayer is permissible wherever the one praying may be. And success is from Allah alone.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب صلاة العيدين / 1607
Hadith Gradingمحدثین:سكت عنه البوصيري، مقطوع/موقوف؛ إسناده صحيح
Hadith Takhrij«أبو يعلى: أبو الربيع الزهراني عن حماد بن زيد عن أيوب (المطالب)؛ كلهم ثقات.»