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