Hazrat Sha'bi (may Allah have mercy on him) said: "If four men bear witness to the adultery of a woman and she turns out to be a virgin, then I would not enforce the hadd (punishment) upon her, for she has the dowry from Allah."
Hadith Referenceسنن سعید بن منصور / كتاب الطلاق / 3298
Hadith Takhrij«أخرجه سعيد بن منصور فى «سننه» ترقيم الدرالسلفية برقم:، 2121، وعبد الرزاق فى «مصنفه» برقم: 13379»