FR 8385 then QR 3678 at Barcelona
Budapest → Barcelona → Amsterdam
Timetable, Barcelona time
17:20FR 8385 from Budapest at the gate
15:55QR 3678 to Amsterdam leaves the gate
22 h 35 apart on the timetable, overnight
QR 3678 leaves 22 h 35 after FR 8385 arrives on the timetable: more than half a day, so not a connection we count.