PU 302 then FR 9602 at Madrid
Lima → Madrid → Rome
Timetable, Madrid time
12:45PU 302 from Lima at the gate
07:40FR 9602 to Rome leaves the gate
18 h 55 apart on the timetable, overnight
FR 9602 leaves 18 h 55 after PU 302 arrives on the timetable: more than half a day, so not a connection we count.