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.
bayhaqi:14168Abū al-Ḥasan ʿAlī b. Aḥmad b. ʿAbdān > Sulaymān b. Aḥmad al-Lakhmī > Ibn Ḥanbal > Ibrāhīm b. Abū al-Layth > al-Ashjaʿī > Sulaymān > al-Ḥaḍramī > Abū Kurayb > Sufyān b. ʿUqbah Akhū Qabīṣah b. ʿUqbah > al-Thawrī > Mūsá b. ʿUbaydah > Muḥammad b. Kaʿb > Ibn ʿAbbās

[Machine] The pleasure (mut'ah) existed in the early days of Islam, and they used to recite this verse {So whatever you enjoy [of marriage] from them} [Quran 4:24] to give them their dowries. A man would propose to a woman without having any knowledge of her, and he would marry her as much as he deemed necessary to satisfy his needs, protect his belongings, and improve his situation. Until this verse was revealed {Forbidden to you [for marriage] are your mothers} [Quran 4:23] until the end of the verse. Allah replaced the previous ruling, thus making mut'ah (temporary marriage) forbidden and abrogating its mention in the Quran, except for their wives or those their right hands possess. Anything other than this is considered Haram (forbidden).  

البيهقي:١٤١٦٨وَأَخْبَرَنَا أَبُو الْحَسَنِ عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدَانَ أنبأ سُلَيْمَانُ بْنُ أَحْمَدَ اللَّخْمِيُّ ثنا ابْنُ حَنْبَلٍ حَدَّثَنِي إِبْرَاهِيمُ بْنُ أَبِي اللَّيْثِ ثنا الْأَشْجَعِيُّ قَالَ سُلَيْمَانُ وَحَدَّثَنَا الْحَضْرَمِيُّ ثنا أَبُو كُرَيْبٍ ثنا سُفْيَانُ بْنُ عُقْبَةَ أَخُو قَبِيصَةَ بْنِ عُقْبَةَ قَالَا ثنا الثَّوْرِيُّ عَنْ مُوسَى بْنِ عُبَيْدَةَ عَنْ مُحَمَّدِ بْنِ كَعْبٍ عَنِ ابْنِ عَبَّاسٍ ؓ قَالَ

كَانَتِ الْمُتْعَةُ فِي أَوَّلِ الْإِسْلَامِ وَكَانُوا يَقْرَءُونَ هَذِهِ الْآيَةَ {فَمَا اسْتَمْتَعْتُمْ} [النساء 24] بِهِ مِنْهُنَّ فَآتُوهُنَّ أُجُورَهُنَّ الْآيَةَ فَكَانَ الرَّجُلُ يَقْدَمُ الْبَلْدَةَ لَيْسَ لَهُ بِهَا مَعْرِفَةٌ فَيَزَّوَّجُ بِقَدْرِ مَا يَرَى أَنَّهُ يَفْرُغُ مِنْ حَاجَتِهِ لِتَحْفَظَ مَتَاعَهُ وَتُصْلِحُ لَهُ شَأْنَهُ حَتَّى نَزَلَتْ هَذِهِ الْآيَةُ {حُرِّمَتْ عَلَيْكُمْ أُمَّهَاتُكُمْ} [النساء 23] إِلَى آخِرِ الْآيَةِ فَنَسَخَ اللهُ ﷻ الْأُولَى فَحُرِّمَتِ الْمُتْعَةُ وَتَصْدِيقُهَا مِنَ الْقُرْآنِ {إِلَّا عَلَى أَزْوَاجِهِمْ أَوْ مَا مَلَكَتْ أَيْمَانُهُمْ} [المؤمنون 6] وَمَا سِوَى هَذَا الْفَرْجِ فَهُوَ حَرَامٌ  


See similar narrations below:

Collected by Ṭabarānī

مُحَمَّدُ بْنُ كَعْبٍ الْقُرَظِيُّ، عَنِ ابْنِ عَبَّاسٍ

tabarani:10782Muḥammad b. ʿAbdullāh al-Ḥaḍramī > Abū Kurayb > Muʿāwiyah b. Hishām > Sufyān > Mūsá b. ʿUbaydah > Muḥammad b. Kaʿb > Ibn ʿAbbās

[Machine] The pleasure existed in the early days of Islam, and they used to recite this verse "{So whatever you have enjoyed of them - then give them their due compensation}" until a certain time. A man would come to a city without any knowledge of it and would marry according to what he sees will fulfill his needs, in order to preserve his belongings and improve his condition. Then this verse was revealed "{Your mothers have been forbidden to you}" until the end of the verse, and the specified time was abrogated. Pleasure and its approval in the Quran were forbidden "{Except from their wives or those their right hands possess, for indeed, they will not be blamed}". So, besides this exception, it is forbidden.  

الطبراني:١٠٧٨٢حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَضْرَمِيُّ ثنا أَبُو كُرَيْبٍ ثنا مُعَاوِيَةُ بْنُ هِشَامٍ ثنا سُفْيَانُ عَنْ مُوسَى بْنِ عُبَيْدَةَ عَنْ مُحَمَّدِ بْنِ كَعْبٍ عَنِ ابْنِ عَبَّاسٍ قَالَ

كَانَتِ الْمُتْعَةُ فِي أَوَّلِ الْإِسْلَامِ وَكَانُوا يَقْرَءُونَ هَذِهِ الْآيَةَ {فَمَا اسْتَمْتَعْتُمْ بِهِ مِنْهُنَّ} إِلَى أَجَلٍ مُسَمًّى كَانَ الرَّجُلُ يَقْدَمُ الْبَلَدَ لَيْسَ لَهُ بِهِ مَعْرِفَةٌ فَيَتَزَوَّجُ بِقَدْرِ مَا يَرَى أَنَّهُ يَفْرُغُ مِنْ حَاجَتِهِ؛ لِتَحْفَظَ مَتَاعَهُ وَتُصْلِحَ لَهُ شَأْنَهُ حَتَّى نَزَلَتْ هَذِهِ الْآيَةُ {حُرِّمَتْ عَلَيْكُمْ أُمَّهَاتُكُمْ} إِلَى آخِرِ الْآيَةِ وَنُسِخَ الْأَجَلُ وَحُرِّمَتِ الْمُتْعَةُ وَتَصْدِيقُهَا فِي الْقُرْآنِ {إِلَّا عَلَى أَزْوَاجِهِمْ أَوْ مَا مَلَكَتْ أَيْمَانُهُمْ فَإِنَّهُمْ غَيْرُ مَلُومِينَ} فَمَا سِوَى هَذَا الْفَرْجِ فَهُوَ حَرَامٌ