Sayyiduna Abu Sa'id (may Allah be pleased with him) said: Ma'iz (may Allah be pleased with him) came before the Prophet (peace and blessings be upon him) and confessed to adultery three times. The Prophet (peace and blessings be upon him) asked about him and then had him stoned. We neither dug a pit for him nor tied him. He ran, and we went towards al-Harrah, caught him and threw stones at him there until he died. The Prophet (peace and blessings be upon him) neither sought forgiveness for him nor spoke ill of him.
In the narration of Sayyiduna Buraydah (may Allah be pleased with him), which contains the story of the Ghamidi woman, the funeral prayer was offered over her by his (peace and blessings be upon him) order, and she was buried; and the incident of the Ghamidi woman came after that of Ma'iz (may Allah be pleased with him), because the Ghamidi woman said: "Do you want to send me back as you sent back Ma'iz?"
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحدود / 16956