UX 7701 then QR 4678 at Barcelona
Madrid → Barcelona → Amsterdam
Timetable, Barcelona time
08:55UX 7701 from Madrid at the gate
07:10QR 4678 to Amsterdam leaves the gatealso IB 5001, LL 5001
22 h 15 apart on the timetable, overnight
QR 4678 leaves 22 h 15 after UX 7701 arrives on the timetable: more than half a day, so not a connection we count.