ISLAMABAD, Pakistan — President Asif Ali Zardari of Pakistan, who unexpectedly flew to the United Arab Emirates on Dec. 6 for what was officially described as medical treatment, will be discharged from a hospital there on Thursday, according to his aides and physician.

But it remained unclear when Mr. Zardari would return to Pakistan, adding to the speculation that his exit may have reflected pressure on him to leave from his country’s powerful military.

Officials of the governing Pakistan Peoples Party, have vehemently denied that speculation, emphasizing that Mr. Zardari, 56, flew to the United Arab Emirates because of genuine cardiovascular issues.

Mr. Zardari maintains one of his overseas residences in the Emirates Hill neighborhood of Dubai. Some party officials have said that Mr. Zardari would return before Dec. 27, the fourth anniversary of the assassination of his wife, Benazir Bhutto, the two-time former prime minister, in a gun and bomb attack in the city of Rawalpindi, near Islamabad.