LP 2484 then FR 9674 at Madrid
Lima → Madrid → Rome
Timetable, Madrid time
16:35LP 2484 from Lima at the gate
16:00FR 9674 to Rome leaves the gate
23 h 25 apart on the timetable, overnight
FR 9674 leaves 23 h 25 after LP 2484 arrives on the timetable: more than half a day, so not a connection we count.