EC 7645 then FR 9602 at Madrid
Lisbon → Madrid → Rome
Timetable, Madrid time
17:25EC 7645 from Lisbon at the gate
14:15FR 9602 to Rome leaves the gate
20 h 50 apart on the timetable, overnight
FR 9602 leaves 20 h 50 after EC 7645 arrives on the timetable: more than half a day, so not a connection we count.