Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:20523Abū Ḥāzim al-Ḥāfiẓ > Abū al-Faḍl b. Khimayrawayh > Aḥmad b. Najdah > Saʿīd b. Manṣūr > Abū Shihāb ʿAbd Rabbih b. Nāfiʿ > Yaḥyá b. Saʿīd > Saʿīd b. al-Musayyib > Muʿāwiyah Katab > Abū Mūsá Sal ʿAlī > a man Dakhal

[Machine] That Muawiyah wrote to Abu Musa asking about a man who entered his house and found another man with his wife so he killed either the man or the woman? So Abu Musa asked Ali about it, and Ali said to him, "What reminded you of this? This is not related to us. I have decided concerning you." He said that Muawiyah wrote to him asking if he asked him about it. He said, "I am Abu Hassan. If four witnesses come to us, otherwise he is punished with his own statement." Yahya ibn Sa'id said, "He is killed." The sheikh, may Allah have mercy on him, said that this is from the hadith of Malik ibn Anas, from Yahya ibn Sa'id, who said that Al-Shafi'i, may Allah have mercy on him, witnessed against a man with fornication and the fourth did not confirm, so he was whipped the three times.  

البيهقي:٢٠٥٢٣وَأَخْبَرَنَا أَبُو حَازِمٍ الْحَافِظُ ثنا أَبُو الْفَضْلِ بْنُ خِمَيْرَوَيْهِ أنبأ أَحْمَدُ بْنُ نَجْدَةَ ثنا سَعِيدُ بْنُ مَنْصُورٍ ثنا أَبُو شِهَابٍ عَبْدُ رَبِّهِ بْنُ نَافِعٍ عَنْ يَحْيَى بْنِ سَعِيدٍ عَنْ سَعِيدِ بْنِ الْمُسَيِّبِ

أَنَّ مُعَاوِيَةَ كَتَبَ إِلَى أَبِي مُوسَى سَلْ عَلِيًّا ؓ عَنْ رَجُلٍ دَخَلَ بَيْتَهُ فَإِذَا مَعَ امْرَأَتِهِ رَجُلٌ فَقَتَلَهَا أَوْ قَتَلَهُ؟ فَسَأَلَهُ أَبُو مُوسَى فَقَالَ لَهُ عَلِيٌّ ؓ مَا ذَكَّرَكَ هَذَا؟ إِنَّ هَذَا لَشَيْءٌ مَا هُوَ بِأَرْضِنَا؟ عَزَمْتُ عَلَيْكَ قَالَ كَتَبَ إِلِيَّ مُعَاوِيَةُ فِي أَنْ أَسْأَلَكَ عَنْهَا قَالَ أَنَا أَبُو حَسَنٍ إِنْ جَاءَنَا بِأَرْبَعَةِ شُهَدَاءَ وَإِلَّا دَفَعَ بِرُمَّتِهِ قَالَ يَحْيَى بْنُ سَعِيدٍ يُقْتَلُ قَالَ الشَّيْخُ رَحِمَهُ اللهُ وَقَدْ مَضَى مِنْ حَدِيثِ مَالِكِ بْنِ أَنَسٍ عَنْ يَحْيَى بْنِ سَعِيدٍ قَالَ الشَّافِعِيُّ رَحِمَهُ اللهُ وَشَهِدَ ثَلَاثَةٌ عَلَى رَجُلٍ عِنْدَ عُمَرَ ؓ بِالزِّنَا وَلَمْ يُثْبِتِ الرَّابِعُ فَجَلَدَ الثَّلَاثَةَ