Hosni Mubarak will be released from jail in the next 48 hours after a corruption case against him was dropped, his lawyer Fareed el-Deeb told Reuters.
The only legal grounds for Mubarak's continued detention rest on another corruption case that will be cleared up later this week, Deeb said.
"All we have left is a simple administrative procedure that should take no more than 48 hours," Deeb said.
The former Egyptian president, who was overthrown in an uprising in 2011, still faces a retrial on charges of complicity in the murder of protesters.
More top news
The first full moon of June will be a penumbral lunar eclipse.
Invoking the Mr Floyd's name is bound further fuel protests that have raged across America in the wake of his death last week.
The man who presided over the marriage of Harry and Meghan, says the US is in a "perilous" place as riots sweep across the country.