Sulaiman bin Yasar and others were asked whether a person who has been subjected to the hadd punishment for qadhf, can his testimony be accepted? They replied: Yes, when he repents, and the truthfulness of his repentance becomes evident from his actions.
Hadith Referenceموطا امام مالك رواية يحييٰ / كتاب الأقضية / 1417