Ibn Jurayj (may Allah have mercy on him) narrates from Ata (may Allah have mercy on him) that the Prophet (peace and blessings be upon him) led the people in the Eid prayer, then said: "Whoever wishes to go, let him go, and whoever wishes to sit, let him sit."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب صلاة العيدين / 6225