Sahih Muslim Book 8, Hadith Number 3262.

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

Sabra al-Juhanni reported on the authority of his father: Allah’s Messenger (May peace be upon him) prohibited the contracting of temporary marriage and said: Behold, it is forbidden from this very day of yours to the Day of Resurrection, and he who has given something (as a dower) should not take it back.