Sahih al-Bukhari

Sahih al-Bukhari 423

To give the judicial verdicts in the mosque and to perform the Al-Lian between men and women (husbands and wives) there
Arabic hadith text
حَدَّثَنَا يَحْيَى، قَالَ أَخْبَرَنَا عَبْدُ الرَّزَّاقِ، قَالَ أَخْبَرَنَا ابْنُ جُرَيْجٍ، قَالَ أَخْبَرَنِي ابْنُ شِهَابٍ، عَنْ سَهْلِ بْنِ سَعْدٍ، أَنَّ رَجُلاً، قَالَ يَا رَسُولَ اللَّهِ، أَرَأَيْتَ رَجُلاً وَجَدَ مَعَ امْرَأَتِهِ رَجُلاً أَيَقْتُلُهُفَتَلاَعَنَا فِي الْمَسْجِدِ وَأَنَا شَاهِدٌ‏.‏
Translation
Narrated Sahl bin Sa`d

A man said, "O Allah's Messenger (ﷺ)! If a man finds another man with his wife, (committing adultery) should the husband kill him?" Later on I saw them (the man and his wife) doing Li`an in the mosque (taking oaths, one accusing, and the other denying adultery).