PU 302 then FR 494 at Madrid
Lima → Madrid → Dublin
Timetable, Madrid time
12:45PU 302 from Lima at the gate
07:50FR 494 to Dublin leaves the gate
19 h 05 apart on the timetable, overnight
FR 494 leaves 19 h 05 after PU 302 arrives on the timetable: more than half a day, so not a connection we count.