حَدَّثَنَا سَعِيدٌ، نا هُشَيْمٌ، أنا مُغِيرَةُ، عَنْ إِبْرَاهِيمَ، فِي رَجُلٍ وُجِدَ مَعَ امْرَأَةٍ يَنْكِحُهَا، فَقَالَ: امْرَأَتِي. فَقَالَتْ: زَوْجِي. فَقَالَ: «يُسْأَلُ الْبَيِّنَةَ عَلَى ذَلِكَ، وَإِلَّا أُقِيمَ عَلَيْهَا الْحَدُّ، لَوِ اسْتَقَامَ ذَلِكَ لَمْ يُقَمْ حَدٌّ عَلَى فَاجِرٍ»
It is narrated from Ibrahim (may Allah have mercy on him) that if a man and a woman are caught in the act of adultery and both say that they are husband and wife, then Ibrahim (may Allah have mercy on him) said: "Testimony will be demanded from both of them; if they cannot produce it, the prescribed punishment (hadd) will be carried out on the woman, otherwise every wicked person would escape the hadd."