FR 5316 then AZ 2425 at Madrid
Rome → Madrid → Lisbon
Timetable, Madrid time
23:40FR 5316 from Rome at the gate
18:55AZ 2425 to Lisbon leaves the gatealso SV 6131, AM 6945, AR 7326, AD 7857
19 h 15 apart on the timetable, overnight
AZ 2425 leaves 19 h 15 after FR 5316 arrives on the timetable: more than half a day, so not a connection we count.