Read the Arabic text and available English translation from Musnad Ahmad, with its supplied source reference.
Musnad Ahmad 1317
Grading supplied with this record: Sahih]
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
It was narrated from ash-Shaʼbi that ‘Ali (رضي الله عنه) said to Sharahah:
Perhaps you were forced? Perhaps your husband came to you? Perhaps...? She said: No. When she gave birth, he slogged her then he stoned her. It was said to him: Why did you flog her then stone her? He said: I flogged her in accordance with the Book of Allah and I stoned her in accordance with the Sunnah of the Messenger of Allah (ﷺ).
Full reference and source
Musnad Ahmad 1317
Arabic/English book : Book 5, Hadith 1317
References, translations and numbering differ between editions. A URL number is an internal app record identifier, not universal hadith numbering. Only supplied grading is displayed; no new authenticity assessment is made.