IB 5987 then QR 3619 at Barcelona
Cairo → Barcelona → Bari
Timetable, Barcelona time
03:25IB 5987 from Cairo at the gatealso LL 5987, VY 8591
18:15QR 3619 to Bari leaves the gate
14 h 50 apart on the timetable
QR 3619 leaves 14 h 50 after IB 5987 arrives on the timetable: more than half a day, so not a connection we count.