IB 2293 then IB 507 at Madrid
Melilla → Madrid → Málaga
Timetable, Madrid time
13:55IB 2293 from Melilla at the gatealso VY 5693, QR 6932
19:35IB 507 to Málaga leaves the gatealso AY 4807
5 h 40 apart on the timetable
The last days
IB 2293 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.