QR 3742 then FR 8394 at Barcelona
Milan → Barcelona → Budapest
Timetable, Barcelona time
12:00QR 3742 from Milan at the gatealso IB 5353, LL 5353, VY 6041
09:15FR 8394 to Budapest leaves the gate
21 h 15 apart on the timetable, overnight
FR 8394 leaves 21 h 15 after QR 3742 arrives on the timetable: more than half a day, so not a connection we count.