That is completely wrong!! If another person knows that somebody has committed zina and complains to the local moulvi, the person who has committed Zina should be stoned to death.
This is something new. Never heard this before. I think the zani needs to confess himself.