The Messenger of Allah ﷺ never struck a servant or a woman.
حدثنا مسدد حدثنا يزيد بن زريع حدثنا معمر عن الزهري عن عروة
ما ضرب رسول الله ﷺ خادما ولا امرأة قط
[Sahih] Ahmad narrated it: 6/232, from the hadith of Mamar through him, and its basis is found in Muslim, no. 2328, from the hadith of Urwa through him.