HV 5951 then FR 9441 at Lisbon
Amsterdam → Lisbon → Madrid
Timetable, Lisbon time
08:40HV 5951 from Amsterdam at the gate
20:50FR 9441 to Madrid leaves the gate
12 h 10 apart on the timetable
FR 9441 leaves 12 h 10 after HV 5951 arrives on the timetable: more than half a day, so not a connection we count.