Speaking about Cpl. Gilad Shalit, the Israeli soldier captured by Hamas-linked gunmen in June, Mubarak said "negotiations on releasing him are in their final stage and waiting for Hamas' approval."
Egypt had made considerable effort to resolve the crisis, Mubarak said, "but it seems that there are other parties who are intervening against the interest of the Palestinian people."
Mubarak did not say who the "other parties" were, but he appeared to mean Syria, where Hamas' top leader Khaled Mashaal lives. He did not give additional details about the negotiations.
The semi-official newspaper al-Gomhouria published the comments in an edition of Thursday's newspaper distributed Wednesday night. Mubarak spoke to newspaper editors accompanying him on his European tour.
Mubarak warns of civil war in Lebanon
Mubarak also warned that the situation in Iraq would worsen unless something is done about the militias. "Iraq is heading toward a catastrophe if the issue of the militias remained unsolved because the disputing militias are concerned about their own interests and not Iraq's interest," the pro-government al-Gomhouria quoted Mubarak as saying.
Mubarak said that he told Iraqi Foreign Minister Hoshyar Zebari, who met him Tuesday in Cairo, the Egyptian capital, that the Iraqi government should settle the issue of convening an international, regional or a national conference to end the violence in Iraq.
"But Iraq should first end the struggle of the militias which are pushing the country toward an unknown fate and exposing it to outside intervention," Mubarak said. Shiite militias are thought to be behind much of the recent upsurge in violence.
On Lebanon, Mubarak said "The Lebanese should show more wisdom and not go after demonstrations, protests or speeches that incite one party against the other because this will lead to a civil war ... And that some political powers want to practice a political role deriving their might from others."