The Court of Cassation ruling, which is final, reduced by 15 years the original 40-year sentence handed to the deposed Egyptian president Mohammed Morsi during the initial sentencing.
An Egyptian court on Saturday sentenced deposed president Mohammed Morsi to 25 years in prison in a final ruling over a case accusing him of spying for Qatar, judicial sources said.
Morsi, who was democratically elected after Egypt's 2011 revolution, was overthrown in a military coup in mid-2013 by then-general Abdel Fattah al Sisi, who is now the president.
Egypt's Court of Cassation reduced Morsi's sentence in the Qatar case to 25 years in its final ruling, from an original 40 years.
Morsi is already serving a 20-year sentence after being convicted for the killing of protesters during demonstrations in 2012.
Since toppling Morsi, Sisi has clamped down on dissent. Mass trials have been held for thousands of Muslim Brotherhood supporters, and hundreds have received death sentences or lengthy prison terms.
In 2014, Egypt charged Morsi and nine others with endangering national security by leaking state secrets and sensitive documents to Qatar. Egypt's relations with Doha were already troubled by Qatar's backing of Morsi.
Egypt is one of four Arab nations in a Saudi-led bloc that cut relations with the Gulf state on June 5, accusing it of backing militant groups and cooperating with their arch-foe Iran, allegations Doha denies.