Sahih Muslim Book 8, Hadith Number 3267.

Chapter: Temporary marriage and its prohibition for all times to come.

‘Ali (Allah be pleased with him) said to Ibn ‘Abbas (Allah be pleased with them) that Allah’s Messenger (May peace be upon him) on the Day of Khaibar forbade forever the contracting of temporary marriage and the eating of the flesh of domestic asses.