[Machine] I visited Ali and said to him, "Indeed, he committed an obscene act, so impose the punishment on him." He replied to me four times, then he said, "O Qanbar, go to him and strike him with one hundred lashes." I said, "Indeed, I am a slave." He said, "Strike him until he says to you to stop." So he struck him with fifty lashes. Al-Shafi'i, may Allah have mercy on him, said, "The protection of a slave's faith is established by evidence from the Sunnah and the consensus of most of the scholars."
أَتَيْتُ عَلِيًّا ؓ فَقُلْتُ لَهُ إِنَّهُ أَصَابَ فَاحِشَةً فَأَقِمْ عَلَيْهِ الْحَدَّ قَالَ فَرَدَّدَنِي أَرْبَعَ مَرَّاتٍ ثُمَّ قَالَ يَا قَنْبَرُ قُمْ إِلَيْهِ فَاضْرِبْهُ مِائَةَ سَوْطٍ فَقُلْتُ إِنِّي مَمْلُوكٌ قَالَ اضْرِبْهُ حَتَّى يَقُولَ لَكَ أَمْسِكْ فَضَرَبَهُ خَمْسِينَ سَوْطًا قَالَ الشَّافِعِيُّ رَحِمَهُ اللهُ وَإِحْصَانُ الْأَمَةِ إِسْلَامُهَا اسْتِدْلَالًا بِالسُّنَّةِ وَإِجْمَاعِ أَكْثَرِ أَهْلِ الْعِلْمِ