FR 574 then QR 3683 at Barcelona
Bologna → Barcelona → Santander
Timetable, Barcelona time
16:30FR 574 from Bologna at the gate
16:05QR 3683 to Santander leaves the gate
23 h 35 apart on the timetable, overnight
QR 3683 leaves 23 h 35 after FR 574 arrives on the timetable: more than half a day, so not a connection we count.