A man came to the Prophet ﷺ and confessed in his presence that he had committed adultery with a woman whom he named. The Messenger of Allah ﷺ sent for the woman and questioned her about it, but she denied having committed adultery. So he had the man flogged with the prescribed punishment and let her go.
عن النبي ﷺ أن رجلا أتاه فأمر عنده أنه أتى بامرأة سماها له، فبعث رسول الله ﷺ إلى المرأة. فسألها عن ذلك. فأنكرت أن تكون زنت فجلده الحد وتركها.
Abu Dawud (4437-4466) narrated it from Uthman bin Abu Shayba, who said, Talq bin Ghannam told us, Abdul-Salam bin Hafs told us, Abu Hazim told us, from Sahl bin Saad, and he related it. Bayhaqi (8/228) also narrated it through this same route. This is a hasan chain because of Abdul-Salam bin Hafs, for his hadith is hasan, and Yahya bin Main confirmed his reliability.Ahmad (22875), Daraqutni (3/99), and Hakim (4/370) all narrated it through the hadith of Muslim bin Khalid Zanji, from Abbad bin Ishaq, from Abu Hazim, from Sahl bin Saad, that a man from Aslam came to the Prophet ﷺ, and he related the story. In it appears the phrase "so he applied his hadd punishment and left her." Muslim bin Khalid Zanji is a subject of disagreement, though his hadith is hasan.Regarding the phrase "so he applied his hadd punishment," this is the correct wording, meaning he applied to him the hadd punishment for fornication, which is stoning, since he was married. As for the phrase "he flogged him," this requires interpretation, meaning that he flogged him first and then it became clear that he was married, so he ordered that he be stoned. It has not been established in the sahih narrations that the Prophet ﷺ combined flogging and stoning for anyone.The phrase "from Aslam" refers to Maiz bin Malik Aslami.As for what was narrated from Ibn Abbas, that a man from Bakr bin Layth came to the Prophet ﷺ and confessed four times that he had committed fornication with a woman, so the Prophet flogged him one hundred lashes, he being unmarried, and then asked him for proof against the woman, and she said, "By Allah, he is lying, O Messenger of Allah," so he flogged him eighty lashes as the punishment for slander, this is daif.Abu Dawud (4467) and Bayhaqi (8/228) both narrated it through the hadith of Qasim bin Fayyad Abnawi, from Khallad bin Abdul-Rahman, from Ibn Musayab, from Ibn Abbas, and he related it, the wording being that of Abu Dawud. Bayhaqi's wording is longer than this. Its chain is daif because of Qasim bin Fayyad Abnawi, whom Ibn Main declared daif.Ajurri said, on the authority of Abu Dawud, Hisham bin Yunus said, "When he narrated those hadiths to me, I suspected him." I said to him, "Do you have them written down?" He said, "Yes," and he brought out a sheet of paper and dictated it to me. I said to Abu Dawud, "Is he trustworthy?" He said, "Yes." Nasai said, "His hadith is unfamiliar (munkar)." Madini said, "He is unknown (majhul)." No one narrated from him except Hisham.Ibn Hibban mentioned him in Ath-Thiqat and then mentioned him again in Adh-Duafa, saying, "He would transmit unfamiliar reports on the authority of well-known narrators alone, and when this became frequent in his narrations, relying on him as evidence became invalid."