A Cairo court on Wednesday convicted ousted Egyptian President Hosni Mubarak of embezzlement and sentenced him to three years in prison.