Observation of infrared lines in a prominence at 1–5 microns