IB 870 then FR 3814 at Madrid
Budapest → Madrid → Bologna
Timetable, Madrid time
14:30IB 870 from Budapest at the gatealso VY 5508, AA 8834
13:00FR 3814 to Bologna leaves the gate
22 h 30 apart on the timetable, overnight
FR 3814 leaves 22 h 30 after IB 870 arrives on the timetable: more than half a day, so not a connection we count.