PU 702 then IB 51 at Madrid
Caracas → Madrid → Málaga
Timetable, Madrid time
10:00PU 702 from Caracas at the gate
07:20IB 51 to Málaga leaves the gate
21 h 20 apart on the timetable, overnight
IB 51 leaves 21 h 20 after PU 702 arrives on the timetable: more than half a day, so not a connection we count.