Musnad Ahmad 1185
It was narrated from ash-Sha’bi that Sharahah al-Hamdaniyyah came to ‘Ali (رضي الله عنه) and said:
I have committed zina. Perhaps you are jealous, or perhaps you dreamt something, or perhaps you were forced? So he flogged her on Thursday and stoned her on Friday, and he said: I flogged her in accordance with the book of Allah and I stoned her in accordance with the sunnah of the Prophet of Allah (ﷺ).
حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، حَدَّثَنَا سَعِيدٌ، عَنْ قَتَادَةَ، عَنْ الشَّعْبِيِّ، أَنَّ شَرَاحَةَ الْهَمْدَانِيَّةَ، أَتَتْ عَلِيًّا رَضِيَ اللَّهُ عَنْهُ فَقَالَتْ إِنِّي زَنَيْتُ فَقَالَ لَعَلَّكِ غَيْرَى لَعَلَّكِ رَأَيْتِ فِي مَنَامِكِ لَعَلَّكِ اسْتُكْرِهْتِ فَكُلٌّ تَقُولُ لَا فَجَلَدَهَا يَوْمَ الْخَمِيسِ وَرَجَمَهَا يَوْمَ الْجُمُعَةِ وَقَالَ جَلَدْتُهَا بِكِتَابِ اللَّهِ وَرَجَمْتُهَا بِسُنَّةِ نَبِيِّ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ‏.‏