QR 3704 then UA 6896 at Barcelona
Bari → Barcelona → Lisbon
Timetable, Barcelona time
16:50QR 3704 from Bari at the gate
14:35UA 6896 to Lisbon leaves the gatealso AD 7223
21 h 45 apart on the timetable, overnight
UA 6896 leaves 21 h 45 after QR 3704 arrives on the timetable: more than half a day, so not a connection we count.