Prime Minister Moustafa Madbouly and Grand Imam of Al-Azhar Ahmed El-Tayyeb performed the prayers alongside the president.
Other ministers and senior state officials, including Minister of Defence and Military Production and Commander-in-Chief of the Armed Forces Mohamed Zaki also attended the prayers with the president.
Eid El-Adha (the Feast of the Sacrifice) is the second of two Muslim great festivals in the Islamic calendar. Eid El-Adha commemorates the Prophet Abraham's willingness to sacrifice his son Ismail in an act of obedience to God.
The government has granted a one-week paid holiday for the public and private sectors on the occasion of Eid El-Adha from Saturday 9 July to Thursday 14 July.