Riyad as-Salihin, Book 1, Hadith 279 (In-Book)

Iyas bin 'Abdullah (May Allah be pleased with him) reported: Messenger of Allah said, "Do not beat Allah's bondwomen." When 'Umar (May Allah be pleased with him) came to Messenger of Allah and complained saying: "The women have become very daring towards their husbands," He gave permission to beat them. Then many women went to the family of the Messenger of Allah (wives) complaining of their husbands, and he (the Prophet) said, "Many women have gone round Muhammad's family complaining of their husbands. Those who do so, that is, those who take to beating their wives, are not the best among you".[Abu Dawud].

وعن إياس بن أبي ذباب رضي الله عنه قال‏:‏ قال رسول صلى الله عليه وسلم ‏:‏ ‏"‏لاتضربوا إماء الله‏"‏ فجاء عمر رضي الله عنه إلى رسول الله صلى الله عليه وسلم ، فقال ‏:‏ ذئرن النساء على أزواجهن، فرخص في ضربهن، فأطاف بآل رسول الله صلى الله عليه وسلم نساء كثير يشكون أزواجهن، فقال رسول الله صلى الله عليه وسلم ‏:‏ ‏"‏لقد أطاف بآل بيت محمد نساء كثير يشكون أزواجهن ليس أولئك بخياركم‏"‏ ‏(‏‏(‏رواه أبو داود بإسناد صحيح‏)‏‏)‏‏.‏

sunnah.com