IB 52 then CX 1845 at Madrid
Málaga → Madrid → Tenerife South
Timetable, Madrid time
15:30IB 52 from Málaga at the gate
12:00CX 1845 to Tenerife South leaves the gate
20 h 30 apart on the timetable, overnight
CX 1845 leaves 20 h 30 after IB 52 arrives on the timetable: more than half a day, so not a connection we count.