Sahih al-Bukhari, Hadith 6854

Narrated Sahl bin Sa`d: I witnessed the case of Lian (the case of a man who charged his wife for committing illegal sexual intercourse when I was fifteen years old. The Prophet ordered that they be divorced, and the husband said, "If I kept her, I would be a liar." I remember that Az-Zubair also said, "(It was said) that if that woman brought forth the child with such-and-such description, her husband would prove truthful, but if she brought it with such-and-such description looking like a Wahra (a red insect), he would prove untruthful." I heard Az-Zubair also saying, "Finally she gave birth to a child of description which her husband disliked.

حَدَّثَنَا عَلِيٌّ، حَدَّثَنَا سُفْيَانُ، قَالَ الزُّهْرِيُّ عَنْ سَهْلِ بْنِ سَعْدٍ، قَالَ شَهِدْتُ الْمُتَلاَعِنَيْنِ وَأَنَا ابْنُ خَمْسَ، عَشْرَةَ، فَرَّقَ بَيْنَهُمَا فَقَالَ زَوْجُهَا كَذَبْتُ عَلَيْهَا إِنْ أَمْسَكْتُهَا‏.‏ قَالَ فَحَفِظْتُ ذَاكَ مِنَ الزُّهْرِيِّ ‏ "‏ إِنْ جَاءَتْ بِهِ كَذَا وَكَذَا فَهْوَ، وَإِنْ جَاءَتْ بِهِ كَذَا وَكَذَا كَأَنَّهُ وَحَرَةٌ فَهُوَ ‏" ‏‏.‏ وَسَمِعْتُ الزُّهْرِيَّ يَقُولُ جَاءَتْ بِهِ لِلَّذِي يُكْرَهُ

sunnah.com