EY 4386 then FR 494 at Madrid
Lima → Madrid → Dublin
Timetable, Madrid time
05:10EY 4386 from Lima at the gatealso MU 4991, HU 8220
23:10FR 494 to Dublin leaves the gate
18 h apart on the timetable
FR 494 leaves 18 h after EY 4386 arrives on the timetable: more than half a day, so not a connection we count.