SK 6701 then HV 5131 at Schiphol
Madrid → Amsterdam → Barcelona
Timetable, Amsterdam time
08:35SK 6701 from Madrid at the gate
07:00HV 5131 to Barcelona leaves the gate
22 h 25 apart on the timetable, overnight
HV 5131 leaves 22 h 25 after SK 6701 arrives on the timetable: more than half a day, so not a connection we count.