Sahih Muslim Book 8, Hadith Number 3263.
Chapter: Temporary marriage and its prohibition for all times to come.
‘Ali b. AbiTalib reported that Allah’s Messenger (May peace be upon him) prohibited on the Day of Khaibar the contracting of temporary marriage with women and the eating of the flesh of domestic asses.