He said Musharraf's health condition is “serious”.
“The hospital will of course not expel its patient. It is Musharraf's prerogative whether to check out or not,” he told reporters outside the special court.
Pakistan has many good medical centres and there is no need to send Musharraf abroad for treatment.
Musharraf is currently barred from travelling abroad but there has been widespread speculation that authorities could use his medical condition to allow him to leave Pakistan for medical treatment.
He is the first general to face trial for treason in Pakistan's history and if he is convicted, he could be given life imprisonment or the death penalty.