a woman came to the Prophet (ﷺ) and confessed to committing fornication. He issued orders, and her garments were tightened around her (so that her private parts would not become uncovered) then he stoned her, then he offered the funeral prayer for her.
Sunan Ibn Majah Book 20, Hadith 23