CAIRO- An Egyptian court on Thursday uashed the conviction and prison sentence for alleged corruption against ex-interior minister Habib al-Adly and ordered a retrial, judicial sources said.

A criminal court had sentenced Adly, who served under former President Hosni Mubarak before his fall to a popular uprising in 2011, to seven years in prison in April after convicting him on charges of abusing public funds.

The Court of Cassation, Egypt's top court whose decisions cannot be appealed, threw out Adly's conviction over procedural errors and ordered a retrial at a different criminal court, the judicial sources said.

His lawyer, Farid el-Deeb, told Reuters that the decision allows for Adly, who did not attend the hearing, to be freed without further legal procedures.

A copy of the April verdict obtained by Reuters showed that Adly and two other ministry officials were ordered to refund a total of 1.95 billion Egyptian pounds ($109.83 million) and were fined the same amount.

A long-serving official at the apex of Egypt's feared internal security apparatus, Adly was acquitted of other graft charges two years ago.

He was also cleared in 2014, along with Mubarak and six aides, of charges related to killings of protesters during the 2011 "Arab Spring" uprising.

(Reporting by Haitham Ahmed and Mahmoud Mourad; writing by Arwa Gaballa; editing by Mark Heinrich) ((arwa.gaballa@thomsonreuters.com; +20 2 2578 3290;))