Sahih al-Bukhari Book 86, Hadith 76
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 .
Allah's Messenger (ﷺ) never took revenge for his own self in any matter presented to him till Allah's limits were exceeded, in which case he would take revenge for Allah's sake.
Ibn `Abbas mentioned the couple who had taken the oath of Lian. `Abdullah bin Shaddad said (to him), "Was this woman about whom Allah's Messenger (ﷺ) said, 'If I were ever to stone to death any woman without witnesses. (I would have stoned that woman to death)?' Ibn `Abbas replied," No, that lady exposed herself (by her suspicious behavior).