Banning Of Mutah At Khaybar
I don’t see from that narration how one can conclude that it used to be allowed . If it was allowed in Islam at any time there would be a definite permission for it in the Quran or the hadith. Apparently, it was something that was practiced by people at that time and prophet SAW prohibited it.