I2 1564 then IB 507 at Madrid
Tenerife North → Madrid → Málaga
Timetable, Madrid time
14:15I2 1564 from Tenerife North at the gatealso IB 1564
19:35IB 507 to Málaga leaves the gatealso AY 4807
5 h 20 apart on the timetable
The last days
I2 1564 and IB 507 weren’t both flown 15 min to 12 h apart in the last 21 days.
Statistics from past flights, not live flight information. Always check times and your connection with your airline, and don’t base travel or booking decisions on these numbers.