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