PU 302 then AZ 2404 at Madrid
Lima → Madrid → Málaga
Timetable, Madrid time
17:06PU 302 from Lima at the gate
15:00AZ 2404 to Málaga leaves the gatealso ME 4047, UX 5039, KU 6055, DL 6750, AD 6926, AM 6967, EY 7585, SK 8363, RO 9419
21 h 54 apart on the timetable, overnight
AZ 2404 leaves 21 h 54 after PU 302 arrives on the timetable: more than half a day, so not a connection we count.