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.
bukhari:6961Musaddad > Yaḥyá > ʿUbaydullāh b. ʿUmar > al-Zuhrī > al-Ḥasan And ʿAbd Allāh Āb.a Muḥammad b. ʿAlī > Abīhimā > ʿAlī Qīl Lah In Ibn ʿAbbās Lā Yará Bimutʿah al-Nisāʾ Baʾs

ʿAli was told that Ibn ʿAbbas did not see any harm in the Mut'a marriage. ʿAli said, "Messenger of Allah ﷺ forbade the Mut'a marriage on the Day of the battle of Khaibar and he forbade the eating of donkey's meat." Some people said, "If one, by a tricky way, marries temporarily, his marriage is illegal." Others said, "The marriage is valid but its condition is illegal."  

البخاري:٦٩٦١حَدَّثَنَا مُسَدَّدٌ حَدَّثَنَا يَحْيَى عَنْ عُبَيْدِ اللَّهِ بْنِ عُمَرَ حَدَّثَنَا الزُّهْرِيُّ عَنِ الْحَسَنِ وَعَبْدِ اللَّهِ ابْنَىْ مُحَمَّدِ بْنِ عَلِيٍّ عَنْ أَبِيهِمَا أَنَّ عَلِيًّا ؓ قِيلَ لَهُ إِنَّ ابْنَ عَبَّاسٍ لاَ يَرَى بِمُتْعَةِ النِّسَاءِ بَأْسًا فَقَالَ

إِنَّ رَسُولَ اللَّهِ ﷺ نَهَى عَنْهَا يَوْمَ خَيْبَرَ وَعَنْ لُحُومِ الْحُمُرِ الإِنْسِيَّةِ وَقَالَ بَعْضُ النَّاسِ إِنِ احْتَالَ حَتَّى تَمَتَّعَ فَالنِّكَاحُ فَاسِدٌ وَقَالَ بَعْضُهُمُ النِّكَاحُ جَائِزٌ وَالشَّرْطُ بَاطِلٌ