IB 5987 then IB 406 at Barcelona
Cairo → Barcelona → Madrid
Timetable, Barcelona time
03:25IB 5987 from Cairo at the gatealso LL 5987, VY 8591
09:45IB 406 to Madrid leaves the gatealso LL 3006, VY 5038, LA 5436, AV 6001, QR 6850, BA 7079, AA 8680
6 h 20 apart on the timetable
The last days
IB 5987 and IB 406 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.