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