Once, Sayyiduna Ali (may Allah be pleased with him) carried out the punishment of stoning on a woman from Kufa. On Thursday, he flogged her, and on Friday, he stoned her to death. He said, "I flogged her because of the Noble Qur'an, and I stoned her because of the Sunnah."
Hadith Referenceمسند احمد / مسند الخلفاء الراشدين / 716
Hadith Gradingحکم دارالسلام:حديث صحيح، رجاله ثقات من طريق سلمة ، وأما مجالد فضعيف، روي له مسلم مقرونة، وأصحاب السنن. وفي خ: 6812، وهو مختصر بقصة الرجم دون الجلد