During the hour-long meeting yesterday, Morsi received a bag that contained some clothes and foods, fruits, mineral water and soft drinks, media reports said.
The visit came after the Interior Minister allowed all prisoners to meet heir relatives on the occasion of the Hijri New Year.
Morsi, Egypt's first democratically-elected president, was ousted by army on July 3 after mass protests against his regime. He had been detained at an undisclosed location since then.
The court session was Morsi's first public appearance since his ouster more than four months ago.
More From This Section
Trial proceedings were postponed by almost two monthsand now slated to recommence on January 8 after defence lawyers requested more time to examine documentation related to the case.
Morsi, for his part, has refused to recognise the trial's legitimacy and has refused formal legal representation.
At Monday's court session, the ousted leader told the presiding judge that he still represented "Egypt's legitimate president.