It wasnarrated that 'Abdullah bin Sa'ib said:
"I attended the 'Eidprayer with the Messenger of Allah (ﷺ). He led us in offering the'Eid prayer, then he said: 'I have finished the prayer. Whoeverwantsto sit (and listen to) the sermon, then let him sit, andwhoever wantsto leave, then let him leave.'" (TH)
English reference (TH): Vol. 1, Book 5, Hadith 1290 (TH)
Arabic reference (TH): Book 5, Hadith 1349 (TH)