KL 1754 then FR 5692 at Schiphol
Hamburg → Amsterdam → Málaga
Timetable, Amsterdam time
12:35KL 1754 from Hamburg at the gate
10:10FR 5692 to Málaga leaves the gate
21 h 35 apart on the timetable, overnight
FR 5692 leaves 21 h 35 after KL 1754 arrives on the timetable: more than half a day, so not a connection we count.