A man came to the Prophet ﷺ and made acknowledgment before him that he had committed fornication with a woman whom he named. The Messenger of Allah ﷺ sent someone to the woman and he asked her about it. She denied that she had committed fornication. So he gave him the prescribed punishment of lashes and left her.
عَنِ النَّبِيِّ ﷺ أَنَّ رَجُلاً أَتَاهُ فَأَقَرَّ عِنْدَهُ أَنَّهُ زَنَى بِامْرَأَةٍ سَمَّاهَا لَهُ فَبَعَثَ رَسُولُ اللَّهِ ﷺ إِلَى الْمَرْأَةِ فَسَأَلَهَا عَنْ ذَلِكَ فَأَنْكَرَتْ أَنْ تَكُونَ زَنَتْ فَجَلَدَهُ الْحَدَّ وَتَرَكَهَا