IB 258 then I2 1739 at Madrid
Tocumen → Madrid → Málaga
Timetable, Madrid time
10:40IB 258 from Tocumen at the gatealso BA 4222, QR 5063, LY 9216
17:15I2 1739 to Málaga leaves the gatealso IB 1739, AA 8720
6 h 35 apart on the timetable
The last days
IB 258 and I2 1739 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.