Gaza's Hamas rulers slammed Egypt on Friday after a Cairo court ordered that ousted president Mohamed Morsi be detained for questioning over alleged ties with the Palestinian militant group.
"Hamas condemns this move since it is based on the premise that the Hamas movement is hostile," spokesman Sami Abu Zuhri told AFP.
"This is a dangerous development, which confirms that the current powers in Egypt are giving up on national causes and even using these issues to deal with other parties -- first among them the Palestinian cause."
Morsi will be quizzed on whether he collaborated with Hamas in attacks on police stations and prison breaks in early 2011, in which the Islamist and other political inmates escaped during the revolt against strongman Hosni Mubarak, according to a Friday report by Egypt's official MENA news agency.
Signup to our newsletter and follow us on Facebook and Twitter!
The allegations are being investigated by a Cairo court that was tasked to determine how inmates broke out of a prison in late January that year, after accusations Morsi's Islamist group sought the help of Hamas.
After Friday prayers at Jerusalem's Al-Aqsa mosque compound, around 500 men -- many waving green Hamas flags -- called for Morsi's reinstatement and the dismissal of Egyptian army chief General Abdel Fattah al-Sisi.
"Sisi out, Morsi is president," they chanted. "Down with the army!"
They were among 180,000 worshippers at the compound, Islam's third-holiest site, for the third Friday of the Muslim fasting month of Ramadan, police said.