From Sahih Muslim (Hadith 1037):
Adi reported:I heard al-Bara' narrating it from the Messenger of Allah (ﷺ) that while in a journey he said the night prayer and recited in one of the two rak'ahs:" By the Fig and the Olive" (Su'rah xcv)
Reference: Muslim 1037