Muta'h (temporary marriage) was allowed during Prophet's life

Muttaa temporary marriage was allowed during Prophets life

This narration says that the holy Prophet (pbuh) allowed temporary marriage and recited this verse "

"O you who believe! Do not make unlawful the good things which Allah has made lawful for you."

As temporary marriage is allowed with Allah's order (4:24)

" If you marry them for the appointed time you must pay their dowries. There is no harm if you reach an understanding among yourselves about the dowry, God is All-knowing and All-wise".

In this verse word Istam ta,atum is used which is Mutta'a (appointed time).