Egypt's military says a "terrorist" has opened fire on a toll booth south of Cairo, killing two retired officers and an active duty soldier.
A statement says a search is underway for the perpetrators of Wednesday attack's in the al-Ayat district of the Egyptian capital.
A local pro-government television station said the officers were a colonel and a captain.
No group immediately claimed responsibility for the attack, which could be the work of either the Egyptian affiliate of the so-called Islamic State group or Muslim Brotherhood's breakaway factions.
The Brotherhood was outlawed and declared a terrorist group by the military-backed government shortly after the 2013 ouster of the Egypt's first freely elected civilian President Mohamed Morsi of the Muslim Brotherhood.
Morsi's one year in office proved divisive and his ouster followed mass protests against his rule.