The morning after Saudi Crown Prince Mohammad bin Salman promised to deliver "whatever we can do" for Pakistanis living in the kingdom, Information Minister Fawad Chaudhry announced that MBS had ordered the immediate release of over 2,000 Pakistani prisoners in Saudi jails.

Prime Minister Imran Khan at a ceremony held to welcome the crown prince at PM House on Sunday night had made a "special request" to MBS to look into the hardships of Pakistani labourers working in the kingdom, and to "look upon them as your own people".

"There are some 3,000 [Pakistani] prisoners there and we just would like you to bear in mind that they are poor people who have left their families behind," Khan had said.

Explore: Saudi crown prince arrives in Pakistan amid fanfare, received by PM Khan on red carpet

MBS had responded by assuring the premier to consider him Pakistan's ambassador to Saudi Arabia. Prince Mohammad had continued: "We cannot say no to Pakistan ... whatever we can do, we will deliver that."

Prime Minister Khan in a tweet today said that the crown prince had "won the hearts of the people of Pakistan when he said, 'Consider me Pakistan's ambassador to Saudi Arabia' in response to my asking him to treat the 2.5 million Pakistanis working in KSA as his own."

Read more: 'Pakistan will be a very important country in coming future,' says Saudi crown prince

Fawad Chaudhry in a tweet today said: "As a sequel to Prime Minister of Pakistan's request, His Royal Highness the Crown Prince of KSA Mohammad Bin Salman has ordered the immediate release of 2,107 Pakistani prisoners from Saudi Jails."

Foreign Minister Shah Mahmood Qureshi also noted that the crown prince had "graciously agreed" to free the Pakistani prisoners "with immediate effect".

"Cases of the remaining will be reviewed," he announced.

The foreign minister said the people of Pakistan thanked the crown prince for "responding immediately" to the premier's request.

This was Prince Mohammad's first state visit since becoming crown prince. Saudi Arabia has signed agreements worth $21 billion with Pakistan in various fields, including cooperation in power production, establishment of an oil refinery and petrochemical plant, promotion of sports and technical assistance in the standardisation sector.