FR 8385 then QR 3683 at Barcelona
Budapest → Barcelona → Santander
Timetable, Barcelona time
17:20FR 8385 from Budapest at the gate
16:05QR 3683 to Santander leaves the gate
22 h 45 apart on the timetable, overnight
QR 3683 leaves 22 h 45 after FR 8385 arrives on the timetable: more than half a day, so not a connection we count.