HV 5132 then KL 941 at Schiphol
Barcelona → Amsterdam → Glasgow
Timetable, Amsterdam time
16:50HV 5132 from Barcelona at the gate
16:00KL 941 to Glasgow leaves the gate
23 h 10 apart on the timetable, overnight
KL 941 leaves 23 h 10 after HV 5132 arrives on the timetable: more than half a day, so not a connection we count.