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