FR 2437 then AD 7287 at Madrid
Rome → Madrid → Lisbon
Timetable, Madrid time
09:00FR 2437 from Rome at the gate
21:10AD 7287 to Lisbon leaves the gatealso S4 8697
12 h 10 apart on the timetable
AD 7287 leaves 12 h 10 after FR 2437 arrives on the timetable: more than half a day, so not a connection we count.