I heard Abu Qasim say, "The child belongs to the husband, and the adulterer gets the stone."
حدثنا عبد الرحمن بن مهدي قال حدثنا حماد بن سلمة عن محمد بن زياد قال سمعت
سمعت أبا القاسم يقول الولد لرب الفراش وللعاهر الحجر
Its isnad is sahih, it was mentioned previously in 9273.9979m - And with his isnad he said, I heard Abu Qasim say, "The best of you are those with the best character, if they have understanding." Sahih.(9979m) Its isnad is sahih. Bukhari related it in the Book of Manners, 8/16, chapter "The Prophet Was Not Coarse," and in Adab al-Mufrad 271, and Muslim, 4/1810, number 2321, in the Book of Virtues, on the extent of his modesty ﷺ, and Tirmidhi, 4/349, number 1975, who said, hasan sahih.