Sahih al-Bukhari, Volume 3, Book 48, Hadith 837 (USC-MSA)

Narrated Ibn `Abbas: Hilal bin Umaiya accused his wife before the Prophet of committing illegal sexual intercourse with Sharik bin Sahma.' The Prophet said, "Produce a proof, or else you would get the legal punishment (by being lashed) on your back." Hilal said, "O Allah's Messenger! If anyone of us saw another man over his wife, would he go to search for a proof." The Prophet went on saying, "Produce a proof or else you would get the legal punishment (by being lashed) on your back." The Prophet then mentioned the narration of Lian (as in the Holy Book). (Surat-al-Nur: 24)

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

sunnah.com