It is not established that there is any sunnah prayer before or after the ‘id prayer. The Prophet never performed any such prayer, neither did his companions upon arrival at the musalla (prayer place).
Ibn ‘Abbas reports: “The Messenger of Allah went out to the site of the ‘id prayer and prayed two rak’at [i.e., the ‘id prayer] without praying anything before or after it.” This is related by the group.
It is reported that Ibn ‘Umar did the same and he stated that this was the practice of the Prophet.
Al-Bukhari records that Ibn ‘Abbas disliked that one should perform a prayer before salatul ‘id. Concerning voluntary prayers at such a time, Ibn Hajar has stated in Fath al-Bari that there is no evidence to show that it is not allowed, unless it is at the times in which it is disliked to pray on any day.