The president was joined in the Friday prayers by Prime Minister Mostafa Madbouly, Minister of Defence Mohamed Zaki, and Egyptian Armed Forces Chief of Staff Osama Askar.
The prayers were also attended by Minister of Justice Amr Marwan, Minister of Religious Endowments Mohamed Mokhtar Gomaa, Minister of Interior Mahmoud Tawfik, Minister of Local Development Mahmoud Shaarawi, Minister of State for Military Production Mohmed Ahmed Morsy along with Cairo Governor Khaled Abdel-Aal and Egypt's Mufti Shawky Allam, in addition to a host of Armed Forces commanders, officers and soldiers.
The 6 October victory in the 1973 war against Israel to liberate Sinai fell on the 10th day of the holy month of Ramadan that year.
The 10th day of the holy month in 2022 fell on Monday 11 April.
After the prayers, the president held a meeting with the commanders of the Armed Forces, where he congratulated them on the occasion, according to a statement by Presidential Spokesperson Bassam Rady.
The president moderated a dialogue with the commanders, during which he dealt with all local, regional and global events and their impact on the region.
He also praised the efforts made by the Armed Forces in carrying out their tasks with dedication on all strategic fronts, saying "the Egyptian people appreciate the efforts and sacrifices made by the heroes of the Armed Forces for Egypt's security and safety."
The Friday prayers were led by Dr. El-Shahat Sayed Azazi who focused the sermon on the meaning of the fasting month of Ramadan and victories achieved during this holy month.
"Egyptians should be proud of their ancestors who achieved the 10th of Ramadan victory," Azazi said.
He also asked God "to preserve Egypt's security and prosperity and to protect its leader, army and people."