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. (Using translation from Ibn Mājah 2555)
أَنَّ امْرَأَةً أَتَتِ النَّبِيَّ ﷺ فَاعْتَرَفَتْ بِالزِّنَا فَأَمَرَ بِهَا رَسُولُ اللهِ ﷺ «فَشَكَتْ عَلَيْهَا ثِيَابَهَا يَعْنِي شُدَّ عَلَيْهَا ثِيَابُهَا ثُمَّ رَجَمَهَا ثُمَّ صَلَّى عَلَيْهَا» أَرْسَلَهُ أَيُّوبُ