AC 2683 then FR 5315 at Madrid
Lisbon → Madrid → Rome
Timetable, Madrid time
09:30AC 2683 from Lisbon at the gate
06:55FR 5315 to Rome leaves the gate
21 h 25 apart on the timetable, overnight
FR 5315 leaves 21 h 25 after AC 2683 arrives on the timetable: more than half a day, so not a connection we count.