No. Mut'ah — contracting a marriage for a fixed, pre-agreed period after which it automatically ends — was permitted at an early stage but was then definitively prohibited by the Prophet (peace be upon him), and the four Sunni schools are unanimous that it is forbidden and invalid. 'Ali ibn Abi Talib narrated that the Prophet forbade the temporary marriage of women and the meat of domestic donkeys on the day of Khaybar, and Sabrah al-Juhani reported that the Prophet forbade it decisively, saying that Allah has prohibited it until the Day of Resurrection. A valid nikah in Islam must be entered without any stipulation of an end date; setting a term nullifies the contract.
Q&A · Marriage & Divorce
Is temporary marriage (mut'ah) permitted in Sunni Islam?
Evidence — the daleel
Sahih al-Bukhari 5115 ṢaḥīḥSahih Muslim 1406 Ṣaḥīḥ
On deen2u
Informational, not a personal fatwa. Consult a qualified scholar for rulings on your situation.