Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:1122Maḥmūd b. Ghaylān > Sufyān b. ʿUqbah Akhū Qabīṣah b. ʿUqbah > Sufyān al-Thawrī > Mūsá b. ʿUbaydah > Muḥammad b. Kaʿb > Ibn ʿAbbās

Ibn Abbas said: "Mut'ah was only during the beginning of Islam. A man would arrive in a land that he was not familiar with so he would marry a woman for the extent of time that he thought he would remain there. So his Mut'ah was upheld and his case was fine until the (following) Ayah was revealed: Except their wives or what their right hands possess. Then every private part other than those became unlawful."  

الترمذي:١١٢٢حَدَّثَنَا مَحْمُودُ بْنُ غَيْلاَنَ حَدَّثَنَا سُفْيَانُ بْنُ عُقْبَةَ أَخُو قَبِيصَةَ بْنِ عُقْبَةَ حَدَّثَنَا سُفْيَانُ الثَّوْرِيُّ عَنْ مُوسَى بْنِ عُبَيْدَةَ عَنْ مُحَمَّدِ بْنِ كَعْبٍ عَنِ ابْنِ عَبَّاسٍ قَالَ

إِنَّمَا كَانَتِ الْمُتْعَةُ فِي أَوَّلِ الإِسْلاَمِ كَانَ الرَّجُلُ يَقْدَمُ الْبَلْدَةَ لَيْسَ لَهُ بِهَا مَعْرِفَةٌ فَيَتَزَوَّجُ الْمَرْأَةَ بِقَدْرِ مَا يَرَى أَنَّهُ يُقِيمُ فَتَحْفَظُ لَهُ مَتَاعَهُ وَتُصْلِحُ لَهُ شَيْئَهُ حَتَّى إِذَا نَزَلَتِ الآيَةُ ( إِلاَّ عَلَى أَزْوَاجِهِمْ أَوْ مَا مَلَكَتْ أَيْمَانُهُمْ ) قَالَ ابْنُ عَبَّاسٍ فَكُلُّ فَرْجٍ سِوَى هَذَيْنِ فَهُوَ حَرَامٌ