In an authentic hadith, the Prophet, sallallahu alayhi wa sallam, advised the men:
"He who believes in Allah and the Hereafter, if he witnesses any matter should talk in good terms about it or remain quiet. Act kindly towards women, for women was created from a rib, and the most crooked part of the rib is its top. If you attempt to straighten it, you will break it, and if you leave it, its crookedness will remain there. So act kindly towards women."
In another narration:
"Woman is like a rib. When you attempt to straighten it, you would break it. And if you leave her alone you would benefit by her, and crookedness will remain in her."
And in another narration:
"Woman has been created from a rib and will in no way be straightened for you; so if you wish to benefit by her, benefit by her while crookedness remains in her. And if you attempt to straighten her, you will break her, and breaking her is divorcing her."
--All three hadiths are related by Abu Hurayrah and recorded in the collection of Sahih Muslim.