AZ 74 then FR 4587 at Barcelona
Rome → Barcelona → Porto
Timetable, Barcelona time
10:50AZ 74 from Rome at the gate
22:55FR 4587 to Porto leaves the gate
12 h 05 apart on the timetable
FR 4587 leaves 12 h 05 after AZ 74 arrives on the timetable: more than half a day, so not a connection we count.