Sunan Ibn Majah, Volume 2, Book 5, Hadith 1310 (DarusSalam) ⓘ
It was narrated that Iyas bin Abi Ramlah Ash-Shami said: “I heard a man asking Zaid bin Arqam: ‘Were you present with the Messenger of Allah when there were two ‘Eid on one day?’ He said: ‘Yes.’ He said: ‘What did he do?’ He said: ‘He prayed the ‘Eid prayer, then he granted a concession not to pray the Friday, then he said: “Whoever wants to pray (Friday), let him do so.”’”
حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ، حَدَّثَنَا أَبُو أَحْمَدَ، حَدَّثَنَا إِسْرَائِيلُ، عَنْ عُثْمَانَ بْنِ الْمُغِيرَةِ، عَنْ إِيَاسِ بْنِ أَبِي رَمْلَةَ الشَّامِيِّ، قَالَ سَمِعْتُ رَجُلاً، سَأَلَ زَيْدَ بْنَ أَرْقَمَ هَلْ شَهِدْتَ مَعَ رَسُولِ اللَّهِ ـ صلى الله عليه وسلم ـ عِيدَيْنِ فِي يَوْمٍ قَالَ نَعَمْ . قَالَ فَكَيْفَ كَانَ يَصْنَعُ قَالَ صَلَّى الْعِيدَ ثُمَّ رَخَّصَ فِي الْجُمُعَةِ ثُمَّ قَالَ " مَنْ شَاءَ أَنْ يُصَلِّيَ فَلْيُصَلِّ " .
also referenced under: Hadith 1310 (Reference) & Book 5, Hadith 1370 (In-Book)