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.”’”