Saudi Arabia's Crown Prince Mohammed bin Salman has "ordered the immediate release" during his high-profile visit to Islamabad.
In a post on Twitter, Pakistan's Information Minister Fawad Chaudhry said the crown prince took the call following a request by Pakistani Prime Minister Imran Khan.
Prince Mohammed is in Pakistan at the beginning of an Asian tour, which will include India and China.
This comes as Saudi Arabia on Sunday signed investment agreements with Pakistan worth $20 billion.
Saudi Arabia has yet to comment on the Pakistani announcement of a prisoner release.

Brazilian flotilla activist returns home, alleges torture during Israel detention
Trump says Iran ceasefire 'on life support' after he rejects Tehran's response
India's Modi to begin five-nation tour, including UAE
UK's Starmer under renewed pressure as lawmakers urge him to quit
Malaysia searches for 14 missing after migrant boat capsizes
Hospitals evacuated, MSF services halted as rival gangs clash in Haiti's capital
EU ministers agree on sanctions targeting violent West Bank settlers
Last six passengers leave Hantavirus-hit ship as captain hails their patience
