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