The Farewell Sermon (خطبة الوداع‎, Khuṭbatu l-Wadā') is Prophet Muhammad's final sermon to his followers before his death in 632 CE. In this authentic sourced version of the sermon (unlike the popular yet fraudulent version which has no source) Muhammed's order to beat women coincide with the Qur'anic order of wife-beating in 4:34. He also compares women to domestic animals.

O people, listen to my words. I do not know whether I shall ever meet you again in this place after this year. O people, your blood and your property are sacrosanct until you meet your Lord, just as this day and this month of yours are sacred. Surely you will meet your Lord and He will question you about your deeds. I have [already] made this known. Let he who has a pledge return it to the one who entrusted him with it; all usury is abolished, but your capital belongs to you. Wrong not and you shall not be wronged. Allah has decreed that there will be no usury, and the usury of Abbas b. Abd al-Muttalib is abolished, all of it. All blood shed in the pre-Islamic days is to be left unavenged. The first such claim I revoke is that of Ibn Rabiah b. al-Harith b. Abd al-Muttalib, who was nursed among the Banu Layth and was slain by the Banu Hudhayl. His is the first blood shed in the pre-Islamic days with which I shall set an example. O people, indeed Satan despairs of ever being worshipped in this land of yours. He will be pleased, however, if he is obeyed in a thing other than that, in matters you minimize. So beware of him in your religion, O people, intercalculating a month is an increase in unbelief whereby the unbelievers go astray; one year they make it profane, and hallow it another [in order] to agree with the number that Allah has hallowed, and so profane what Allah has hallowed, and hallow what Allah has made profane. Time has completed its cycle [and is] as it was on the day that Allah created the heavens and the earth. The number of the months with Allah is twelve; [they were] in the Book of Allah on the day He created the heavens and the earth. Four of them are sacred, the three consecutive [months] and the Rajab [which is the month of] Mudar, which is between Jumada and Sha’ban.Now then, O people, you have a right over your wives and they have a right over you. You have [the right] that they should not cause anyone of whom you dislike to tread on your beds; and that they should not commit any open indecency., but not severely. If they abstain from [evil], they have the right to their food and clothing in accordance with the custom. Treat women well,You have taken them only as a trust from Allah, and you have made the enjoyment of their persons lawful by the word of Allah, so understand and listen to my words, O people. I have conveyed the Message, and have left you with something which, if you hold fast to it, you will never go astray; that is, the Book of Allah and the sunnah of his Prophet. Listen to my words, O people, for I have conveyed the Message and understand [it]. Know for certain that every Muslim is a brother of another Muslim, and that all Muslims are brethren. It is not lawful for a person [to take] from his brother except that which he has given him willingly, so do not wrong yourselves. O Allah, have I not conveyed the message?