AZ 76 then FR 3078 at Barcelona
Rome → Barcelona → Lisbon
Timetable, Barcelona time
15:55AZ 76 from Rome at the gate
13:50FR 3078 to Lisbon leaves the gate
21 h 55 apart on the timetable, overnight
FR 3078 leaves 21 h 55 after AZ 76 arrives on the timetable: more than half a day, so not a connection we count.