The top Muslim Brotherhood leader was in court for a hearing on charges of espionage emanating from suspected contacts with the Hamas