It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that a man from the tribe of Aslam came to the Prophet (peace and blessings be upon him) and confessed to adultery, and he (peace and blessings be upon him) turned away from him, until, when he had testified against himself four times, he (peace and blessings be upon him) asked: "Are you insane?" He said: No. He (peace and blessings be upon him) asked: "Are you married?" He said: Yes. So he (peace and blessings be upon him) ordered that he be stoned. When the stones struck him, he fled, but he was caught and stoned again until he died. The Prophet (peace and blessings be upon him) spoke good words about him, but did not offer the funeral prayer over him.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحدود / 16955