PU 302 then IB 1043 at Madrid
Lima → Madrid → Mahón
Timetable, Madrid time
12:45PU 302 from Lima at the gate
07:10IB 1043 to Mahón leaves the gate
18 h 25 apart on the timetable, overnight
IB 1043 leaves 18 h 25 after PU 302 arrives on the timetable: more than half a day, so not a connection we count.