Thirty Afghans have been released from Pakistani jails and returned to the county, a statement said on Wednesday.