HV 5956 then HV 5423 at Schiphol
Lisbon → Amsterdam → Pisa
Timetable, Amsterdam time
23:45HV 5956 from Lisbon at the gate
16:55HV 5423 to Pisa leaves the gate
17 h 10 apart on the timetable, overnight
HV 5423 leaves 17 h 10 after HV 5956 arrives on the timetable: more than half a day, so not a connection we count.