IB 870 then FR 5315 at Madrid
Budapest → Madrid → Rome
Timetable, Madrid time
14:30IB 870 from Budapest at the gatealso VY 5508, AA 8834
08:55FR 5315 to Rome leaves the gate
18 h 25 apart on the timetable, overnight
FR 5315 leaves 18 h 25 after IB 870 arrives on the timetable: more than half a day, so not a connection we count.