[Machine] The Prophet Muhammad ﷺ said, "Any servant who commits a prohibited act and then receives his prescribed punishment, that sin is expiated from him."
أَنَّ رَسُولَ اللهِ ﷺ قَالَ «أَيُّمَا عَبْدٍ أَصَابَ شَيْئًا مِمَّا نَهَى الله عَنْهُ ثُمَّ أُقِيمَ عَلَيْهِ حَدُّهُ كَفَّرَ عَنْهُ ذَلِكَ الذَّنْبَ»