عَنِ الشَّعْبِيِّ رَضِيَ اللَّهُ عَنْهُ أَنَّ شَرَاحَةَ الْهَمْدَانِيَّةَ أَتَتْ عَلِيًّا رَضِيَ اللَّهُ عَنْهُ فَقَالَتْ إِنِّي زَنَيْتُ فَقَالَ لَعَلَّكِ غَيْرَى لَعَلَّكِ رَأَيْتِ فِي مَنَامِكِ لَعَلَّكِ اسْتُكْرِهْتِ وَفِي لَفْظٍ لَعَلَّ زَوْجَكِ جَاءَكِ فَكُلٌّ تَقُولُ لَا فَجَلَدَهَا يَوْمَ الْخَمِيسِ وَرَجَمَهَا يَوْمَ الْجُمُعَةِ وَقَالَ جَلَدْتُهَا بِكِتَابِ اللَّهِ وَرَجَمْتُهَا بِسُنَّةِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ
It is also narrated from Sha'bi, he says: Sharaha Hamdaniyah came to Sayyiduna Ali, may Allah be pleased with him, and said: I have committed adultery. He said: Perhaps you became jealous, or saw a dream, or were forced. In one narration it is: Perhaps your husband came to you. But in response to every question, she said: No, no. So Sayyiduna Ali, may Allah be pleased with him, flogged her on Thursday and stoned her on Friday, and said: I have flogged her in the light of the Book of Allah and stoned her in the light of the Sunnah of the Messenger of Allah, peace and blessings be upon him.