IB 652 then FR 5482 at Madrid
Rome → Madrid → Porto
Timetable, Madrid time
18:55IB 652 from Rome at the gatealso LA 1640, VY 5825, QR 8017
09:05FR 5482 to Porto leaves the gate
14 h 10 apart on the timetable, overnight
FR 5482 leaves 14 h 10 after IB 652 arrives on the timetable: more than half a day, so not a connection we count.