Security guards have seized a man who tried to hit Iranian President Mahmoud Ahmadinejad with a shoe as he visited a mosque in the Egyptian capital Cairo.
Video of the incident shows a man shouting "coward" as he strikes out.
It is not clear what the motive was - some reports suggested it was against Iran's support for Syria's government.
Mr Ahmadinejad is the first Iran leader to visit Egypt since the 1979 Islamic revolution. Showing the sole of a shoe is a grave insult in the Arab world.