El-Nabi's military participated in several conflicts throughout his military career, including in the June War, 1967 Arab–Israeli War. Following this, he commanded 16th Infantry Division of the Second Army during the October War in 1973.[4] He was actively involved in the War of Attrition (1969-1973), a prolonged conflict aimed at wearing down Israeli forces through strategic engagements along the Suez Canal.[1]
He participated in the October 1973 War, also known as the Yom Kippur War between Egyptian and Israeli forces in the Sinai Peninsula. El-Nabi played a central role in planning and executing military operations that temporarily shifted the strategic balance in the region.[1]
In 1981, El-Nabi was appointed chief of staff of the Egyptian Armed Forces. During his tenure, he focused on modernizing the military, including operational capabilities. El-Nabi served in this capacity until 1983.[1]