The Book of Marriage (Kitab Al-Nikah)

Muslim :: Book 8 : Hadith 3255

Sabra al-Juhanni reported on the authority of his father that while he was with Allah's Messenger (may peace be upon hm) he said: 0 people, I had permitted you to contract temporary marriage with women, but Allah has forbidden it (now) until the Day of Resurrection. So he who has any (woman with this type of marriage contract) he should let her off, and do not take back anything you have given to then (as dower).

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star