Abu Jamrah narrates from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that he was asked about mut'ah marriage, and a servant of his said: This was in jihad, when women were scarce. Ibn Abbas (may Allah be pleased with them both) said: He has spoken the truth.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 14162