Mishkat al-Masabih 3304
Sahl b. Sa'd as-Sa‘idi told that ‘Uwaimir al-'Ajlani asked God’s Messenger:
“Tell me about a man who finds a man along with his wife. Should he kill him and then be killed by you 1 , or how should he act?’’ He replied, “A revelation has been sent down about you and your wife 2 , so go away and bring her.” Sahl said that they cursed one another in the mosque and that he was along with the people who were with God’s Messenger. Then when they finished ‘Uwaimir said, “I shall have lied against her, Messenger of God, if I keep her,” and pronounced her divorce three times. God’s Messenger then said to the people, “Look, and if she bears a child which is black, and has very black eyes, large buttocks and fat legs, I cannot but imagine that ‘Uwaimir has spoken the truth about her; but if she bears a reddish child like the lizard with red spots ( wahara ), I cannot but imagine that ‘Uwaimir has lied against her.” She gave birth to a child like that described by God’s Messenger in declaring that ‘Uwaimir had spoken the truth, and afterwards its lineage was traced to its mother. 

(Bukhari and Muslim.)

1. Some texts read as translated above; others use the third person, with reference to the family of the man and their revenge for killing him.
2. Al-Qur'an 24:6.
عَنْ سَهْلِ بْنِ سَعْدٍ السَّاعِدِيِّ رَضِيَ اللَّهُ عَنهُ قَالَ: إِن عُوَيْمِر الْعَجْلَانِيَّ قَالَ: يَا رَسُولَ اللَّهِ أَرَأَيْتَ رَجُلًا وجدَ معَ امرأتِهِ رجُلاً أيقْتُلُه فيَقْتُلُونه؟ أمْ كَيفَ أفعل؟ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «قدْ أُنْزِلُ فِيكَ وَفِي صَاحِبَتِكَ فَاذْهَبْ فَأْتِ بِهَا» قَالَ سَهْلٌ: فَتَلَاعَنَا فِي الْمَسْجِدِ وَأَنَا مَعَ النَّاسِ عِنْدَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَلَمَّا فَرَغَا قَالَ عُوَيْمِرٌ: كَذَبْتُ عَلَيْهَا يَا رسولَ اللَّهِ إِن أَمْسكْتُها فطلقتها ثَلَاثًا ثُمَّ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " انْظُرُوا فَإِنْ جَاءَتْ بِهِ أَسْحَمَ أَدْعَجَ الْعَيْنَيْنِ عَظِيمَ الْأَلْيَتَيْنِ خَدَلَّجَ السَّاقَيْنِ فَلَا أَحسب عُوَيْمِر إِلَّا قَدْ صَدَقَ عَلَيْهَا وَإِنْ جَاءَتْ بِهِ أُحَيْمِرَ كَأَنَّهُ وَحَرَةٌ فَلَا أَحْسِبُ عُوَيْمِرًا إِلَّا قَدْ كَذَبَ عَلَيْهَا فَجَاءَتْ بِهِ عَلَى النَّعْتِ الَّذِي نَعْتُ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مِنْ تَصْدِيقِ عُوَيْمِرٍ فَكَانَ بَعْدُ يُنْسَبُ إِلَى أمه