"Egypt should read about the recent history of Turkey, and must certainly take into consideration the experiences Turkey has had during its recent history," he said, according to his office.
"We would still think that coups are evil, even if it had not happened in Egypt, and it had happened in another country. We would still think that coups are evil, even if it had not been launched against Morsy, but against those in the opposition."
In Washington, a State Department spokeswoman on Friday condemned the violence that followed Morsy's ouster and called on the military to respect the will of the people, but did not call for Morsy's reinstatement.
"The voices of all who are protesting peacefully must be heard -- including those who welcomed the events of earlier this week and those who supported President Morsy," spokeswoman Jennifer Psaki said. "The Egyptian people must come together to resolve their differences peacefully, without recourse to violence or the use of force."
Sen. John McCain, R-Arizona, has called for the suspension of U.S. aid to Egypt's military, which exceeds $1 billion per year.
"Their economy is in terrible shape thanks to their policies. But the fact is, the United States should not be supporting this coup," he told CBS' "Face the Nation."
Washington should make clear that resuming that assistance "will be directly related to their transition to a civilian government," McCain said.
Sen. Robert Menendez, chairman of the Senate Foreign Relations Committee, said the United States hasn't committed much of this year's aid.
"This is an opportunity to have a pause and say to the Egyptians, 'You have an opportunity to come together.' You have to have the military understand that that's what we're looking for, a transition right away, as soon as possible," Menendez, D-New Jersey, told NBC's "Meet the Press."
Egypt is the most populous Arab country in the world and has long been a close ally of the United States, which supported it with military aid during Mubarak's 30-year dictatorship.
It controls the Suez Canal, a crucial sea route used by more than 4% of the world's oil traffic and 8% of its seaborne trade.
With Jordan, it is one of two Arab countries that have signed peace treaties with Israel.