FR 9601 then LO 4763 at Madrid
Rome → Madrid → Lisbon
Timetable, Madrid time
19:50FR 9601 from Rome at the gate
18:00LO 4763 to Lisbon leaves the gate
22 h 10 apart on the timetable, overnight
LO 4763 leaves 22 h 10 after FR 9601 arrives on the timetable: more than half a day, so not a connection we count.