The Hadd punishments are an expiation for those on whom they are carried out Sahih Muslim 1709 b

Show Arabic text
Translation
This hadith has been narrated on the authority of Zuhri with the same chain of transmitters with this addition

" He recited to us the verse pertaining to women, viz, that they will not associate anything with Allah.