IB 5989 then QR 3627 at Barcelona
Cairo → Barcelona → Rome
Timetable, Barcelona time
23:55IB 5989 from Cairo at the gatealso LL 5989, VY 8593
14:45QR 3627 to Rome leaves the gate
14 h 50 apart on the timetable, overnight
QR 3627 leaves 14 h 50 after IB 5989 arrives on the timetable: more than half a day, so not a connection we count.