Gunmen on a motorcycle opened fire on tourists as they boarded a bus in Cairo on Thursday but there were no casualties, security sources said.
The attack took place at a hotel on a road leading to the pyramids. One gunmen was arrested at the scene and security forces surrounded the other attacker in another part of Cairo, said the sources.
The tourists included two Israeli Arabs, according to local reports.
Tourism is a pillar of the Egyptian economy, which has been struggling to recover from political turmoil triggered by the 2011 uprising that toppled autocrat Hosni Mubarak.
President Abdel Fattah al-Sissi has declared an all-out war on Islamist militants, who hope to destabilize Egypt through suicide bombings and shooting attacks.
Islamic State’s Egypt affiliate has said it planted a bomb on a Russian passenger plane that crashed in the Sinai on Oct. 31, killing all 224 people on board.