FR 9840 then HV 5956 at Lisbon
Cologne → Lisbon → Amsterdam
Timetable, Lisbon time
22:40FR 9840 from Cologne at the gate
19:40HV 5956 to Amsterdam leaves the gate
21 h apart on the timetable, overnight
HV 5956 leaves 21 h after FR 9840 arrives on the timetable: more than half a day, so not a connection we count.