Saudi Arabia to free workers locked up in jails after a request by Prime Minister Imran Khan, information minister says.

More than 2,000 Pakistani workers languishing in Saudi jails will be released, Pakistan’s information minister announced on Monday during Saudi Arabian crown prince’s high-profile visit to Islamabad.

Crown Prince Mohammed bin Salman had “ordered the immediate release of 2,107 Pakistani prisoners”, after a request by Pakistani Prime Minister Imran Khan, Fawad Chaudhry said in a post on Twitter.

Prince Mohammed arrived in Pakistan on Sunday at the beginning of an Asian tour which will include China and is seen as an attempt by him to rebuild his reputation after the murder of Saudi critic and journalist Jamal Khashoggi.

Saudi Arabia on Sunday signed investment agreements with Pakistan worth $20bn.

Saudi officials have yet to comment on the Pakistani announcement of a prisoner release.

The fate of thousands of Pakistani workers locked up in jails across the Middle East is a sensitive issue in Pakistan, where there is a perception the prisoners are mostly poor labourers who have no real legal recourse.

Huge numbers of Pakistanis travel to the Middle East every year, with many working on construction sites or as domestic helpers. The remittances they send back are vital for the Pakistani economy.

The crown prince’s visit marks a deepening of ties between allies whose relationship has in the past centred on oil-rich Saudi Arabia backing Pakistan’s economy during difficult periods, and in return Pakistan’s powerful army lending support to Saudi Arabia and its royal family.

As the guardians of most holy sites in the birthplace of Islam, the Saudi royal family carries vast religious influence in Pakistan, a conservative and mostly Muslim country of 208 million people.

Biggest political crisis

Saudi Arabia has in recent months helped keep Pakistan’s economy afloat by propping up rapidly dwindling foreign reserves with a $6bn loan, giving it breathing room as it negotiates a bailout with the International Monetary Fund.

Pakistan has shown appreciation by treating Prince Mohammed’s trip as the biggest state visit since one by Chinese President Xi Jinping in 2015, soon after Beijing announced plans to invest tens of billions of dollars on infrastructure in Pakistan as part of China’s Belt and Road initiative.

Many in the West blamed Prince Mohammed for the killing of the journalist Khashoggi in the Saudi consulate in Istanbul in October.

The murder triggered the kingdom’s biggest political crisis for a generation. The crown prince has denied being involved.

But the UN human rights investigator leading the international inquiry into the murder of the Saudi journalist said earlier this month that evidence showed he was a victim of “a brutal and premeditated killing, planned and perpetrated by officials of the state of Saudi Arabia”.

Special Rapporteur Agnes Callamard said her three-member team had access to part of the “chilling and gruesome audio material” of the murder obtained by Turkish intelligence agencies.