It was narrated from ash-Shaʼbi that ’Ali (رضي الله عنه) flogged Shurahah on Thursday and stoned her on Friday, and he said:
I flogged her in accordance with the Book of Allah and stoned her in accordance with the Sunnah of the Messenger of Allah (ﷺ).