The Pakistani nationals were released after they completed their respective prison terms, official sources said.
The move came days after Prime Minister Narendra Modi exchanged greetings with his Pakistani counterpart Nawaz Sharif at the Shanghai Cooperation Organisation summit in Astana.
PTI