Abdullah bin Abbas reported,

Hilal bin Umaya accused his wife before the Prophet ﷺ of committing adultery with Sharik bin Sahma.The Prophet ﷺ said, "Produce evidence, or you will receive the prescribed lashes on your back."Hilal said, "Messenger of Allah, when one of us sees a man with his wife, is he supposed to go off searching for evidence?"But the Prophet ﷺ kept repeating, "Produce evidence, or you will receive the prescribed lashes on your back."Then he mentioned the hadith of li'an.

Azami 7002

Sahih

عن ابن عباس

أن هلال بن أمية قذف امرأته عند النبي ﷺ بشريك بن سحماء، فقال النبي ﷺ: البينة أو حد في ظهرك فقال: يا رسول الله، إذا رأى أحدنا على امرأته رجلا، ينطلق يلتمس البينة؟ فجعل يقول: البينة وإلا حد في ظهرك فذكر حديث اللعان.

الأعظمي 7002صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Legal punishments
Chapter
Hadd for slander
Section
Hadd for false accusation is eighty lashes
Numbering
Jami al-Kamil 7002 (2nd edition)
Azami 7002