QR 3663 then IB 416 at Barcelona
Bologna → Barcelona → Madrid
Timetable, Barcelona time
10:05QR 3663 from Bologna at the gatealso LA 5855
17:00IB 416 to Madrid leaves the gatealso LL 3016, VY 5068, QR 6587, BA 7083, CZ 7325
6 h 55 apart on the timetable
The last days
QR 3663 and IB 416 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.