Iyas bin Abu Ramla reported,

I heard a man ask Zayd bin Arqam, "Did you witness two Eids falling on the same day with the Messenger of Allah ﷺ?"He replied, "Yes."The man asked, "What did he do?"He said, "He performed the Eid prayer, then granted a concession regarding the Friday prayer, saying, 'Whoever wishes to pray it may do so.'"

Ibn Majah 1310

Hasan

حدثنا نصر بن علي الجهضمي حدثنا أبو أحمد حدثنا إسرائيل عن عثمان بن المغيرة

عن إياس بن أبي رملة الشامي قال

سمعت رجلا سأل زيد بن أرقم هل شهدت مع رسول الله ﷺ عيدين في يوم قال نعم قال فكيف كان يصنع قال صلى العيد ثم رخص في الجمعة ثم قال من شاء أن يصلي فليصل

ابن ماجه 1310حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
What happens when the two Eids occur on the same day
Numbering
Darussalam 1310
Ibn Majah 1310