(3) باب نِكَاحِ الْمُتْعَةِ وَبَيَانِ أَنَّهُ أُبِيحَ ثُمَّ نُسِخَ ثُمَّ أُبِيحَ ثُمَّ نُسِخَ وَاسْتَقَرَّ تَحْرِيمُهُ إِلَى يَوْمِ الْقِيَامَةِ
Sabra al-Juhanni reported on the authority of his father:
Allah's Messenger (ﷺ) 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.
Reference: Sahih Muslim 1406 l
In-book reference: Book 16, Hadith 33
USC-MSA web (English) reference(deprecated numbering scheme): Book 8, Hadith 3262