An Israeli military court has ordered an immediate medical exam for the Palestinian parliament speaker, who has complained of chest pains while in Israeli custody, his lawyer said Friday.

The Israeli military had no immediate comment.

It said the speaker, Abdel Aziz Duaik, has been transferred from an army-run West Bank detention camp to an Israeli prison and is no longer under its jurisdiction.

Duaik is a senior Hamas official and was arrested by Israeli troops in his West Bank home Aug. 5.

CountryWatch: Israel

Last week, Duaik first complained of chest pains and was taken for a medical checkup at a Jerusalem hospital and given a clean bill of health before being returned to the detention camp, the army said at the time.

In a military court hearing Thursday, Duaik's lawyer, Jawad Boulos, requested that more tests be conducted. Boulos said the court granted his motion.

The lawyer said Duaik was twice put on a respirator during detention, and also suffers from kidney stones. "He's in solitary confinement and I've not had any access to him since he was arrested," said Boulos. Duaik appeared in court Thursday.

Officials in Israel's Prisons Authority were not available for comment Friday.

Duaik was one of dozens of Hamas officials, including eight Cabinet members, detained after Hamas-linked militants kidnapped an Israeli soldier on June 25.

Visit FOXNews.com's Mideast Center for more in-depth coverage.