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.
tabarani:5695Yaḥyá b. ʿUthmān b. Ṣāliḥ from my father > Ibn Lahīʿah > ʿUqayl > Ibn Shihāb > Sahl b. Saʿd

[Machine] The Messenger of Allah, ﷺ , only allowed us temporary marriage for a need that was severe among the people, and then he forbid it afterwards.  

الطبراني:٥٦٩٥حَدَّثَنَا يَحْيَى بْنُ عُثْمَانَ بْنِ صَالِحٍ حَدَّثَنِي أَبِي ثنا ابْنُ لَهِيعَةَ عَنْ عُقَيْلٍ عَنِ ابْنِ شِهَابٍ عَنْ سَهْلِ بْنِ سَعْدٍ قَالَ

«إِنَّمَا رَخَّصَ لَنَا رَسُولُ اللهِ ﷺ فِي الْمُتْعَةِ لِحَاجَةِ كَانَتْ بِالنَّاسِ شَدِيدَةٍ ثُمَّ نَهَى عَنْهَا بَعْدُ»