Pakistan woman stoned to death by family outside Lahore court

Re: Pakistan woman stoned to death by family outside Lahore court

What is the basis for this law? Anyone know?