Language:
كتاب الحدود
86  
Limits and Punishments set by Allah (Hudood)
(43)
Chapter: To behave in a suspicious and dishonest way; and to accuse others without proof
(43)
باب مَنْ أَظْهَرَ الْفَاحِشَةَ وَاللَّطْخَ وَالتُّهَمَةَ بِغَيْرِ بَيِّنَةٍ
Sahih al-Bukhari 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 .

حَدَّثَنَا عَلِيٌّ، حَدَّثَنَا سُفْيَانُ، قَالَ الزُّهْرِيُّ عَنْ سَهْلِ بْنِ سَعْدٍ، قَالَ شَهِدْتُ الْمُتَلاَعِنَيْنِ وَأَنَا ابْنُ خَمْسَ، عَشْرَةَ، فَرَّقَ بَيْنَهُمَا فَقَالَ زَوْجُهَا كَذَبْتُ عَلَيْهَا إِنْ أَمْسَكْتُهَا‏.‏ قَالَ فَحَفِظْتُ ذَاكَ مِنَ الزُّهْرِيِّ ‏ "‏ إِنْ جَاءَتْ بِهِ كَذَا وَكَذَا فَهْوَ، وَإِنْ جَاءَتْ بِهِ كَذَا وَكَذَا كَأَنَّهُ وَحَرَةٌ فَهُوَ ‏"‏‏.‏ وَسَمِعْتُ الزُّهْرِيَّ يَقُولُ جَاءَتْ بِهِ لِلَّذِي يُكْرَهُ
Reference : Sahih al-Bukhari 6854
In-book reference : Book 86, Hadith 76
USC-MSA web (English) reference : Vol. 8, Book 82, Hadith 837
  (deprecated numbering scheme)