FR 5691 then KL 1945 at Schiphol
Málaga → Amsterdam → Basel
Timetable, Amsterdam time
18:30FR 5691 from Málaga at the gate
12:10KL 1945 to Basel leaves the gate
17 h 40 apart on the timetable, overnight
KL 1945 leaves 17 h 40 after FR 5691 arrives on the timetable: more than half a day, so not a connection we count.